cleanbeengreen cleanbeengreen
  • 02-11-2020
  • Computers and Technology
contestada

4.1 code practice edhesive
What am I doing wrong

41 code practice edhesive What am I doing wrong class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 02-11-2020

Your code is improperly indented.

The correct code looks like:

def main():

   while True:

       name = input("Please enter a name: (Nope to end) ")

       if name == "Nope":

           return

       print("Nice to meet you {}".format(name))

main()

I hope this helps!

Answer Link

Otras preguntas

what helped create a global village and the emergence of a new international popular culture
Angela rode his bike around a bike trail that was 1/4 of a mile long he rode his bike around the trail 8 * Angelo says he wrote a total of 8/4 miles to Russell
Why is carbon stable
Can someone help me with my essay? Editing​?
What are three reforms advocated to fixing the social security dilemma?
what is the bill of rights
Need help with most of this homework
What is the value of x? Enter your answer in the box. (cm)
CAN SOMEONE PLEASE HELP ME???!!?!?!?! 50 points!!!! first drop menu 0.80 or 0.75 or 1.20 or 4.00 second drop menu 4.00 or 0.75 or 0.25 or 3.75 3rd 15,6,10
Scale factor of 2 is used to enlarge a figure as shown below the area of is 18 in.²