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

help me with the second one because I don't know how to do it
which one of the following examples represents a proper fraction?
does the passage suggest that jefferson and others in the united states goverment already had some knowledge of the new Louisiana territory
Why do things change? Explain in 2-2 sentences. I need the brainiest answer.
Which of these sentences is punctuated correctly? I need to leave for school right now; because I don't have all of my school supplies gathered. I need to lea
What does the gypsy tell Miss Ingram that makes her unhappy? a. That her mother will soon die c. That she must return home as soon as possible b. That Mr. Ro
I have to make a online presentation, which program is the best
Ethanol is the active principle in intoxicating drinks. a. TRUE b. FALSE
which of the following words can help you pinpoint where stress is coming from?
If it's 10 a. M. Eastern Standard Time in New York City, what time is it in Los Angeles? a. 8 a. M. b. 12 P.M. c. 7 a. M. d. 1 P.M.