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

which of the following expressions is equivalent to the expression a^2/3
What is the constant ratio formula
A painter earns $15 per hour. What is the minimum number of hours he must work to earn at least $200? write an inequality to represent this situation and solve.
Explain the short term and long term effects that alcohol has in the cardiovascular system and describe two preventative measures people could take if they want
what is 13 divided by eleven thousand eighty nine
what is the inverse of g(x)=(x-1)/4? is it g-1(x)=4x+1?
I need help on this
what would happen to a person with very low resistence who shares his/her personal belongings like towel or gkass with someone?
did brown vs board of education change the future? if yes, explain why, and if no explain why!
Subtract. −24−(−19) Enter your answer in the box.