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

this is my last question for right now help(:
What is neutralisation-acid and base?
(LC)The body paragraphs of an essay can be organized many ways, but essentially you should focus on one supporting idea at a time include as many key points as
What were problems faced by the allies powers after ww2
draw and label fully structure of a nephrone
Consider the following quote from Franklin D. Roosevelt: These institutions, because of their great needs, were foreclosing mortgages, calling loans, refusing
what is true if enzymes
Help needed plezAns in (ii) is 1.5
need help. plz help. do it as fast as possible.
NEED HELP IN MATH . ALL HELP IS APPRECIATED .