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

When scientists use one of their five senses to gather information, they are?
How long does it take to mail from westchester to astoria?
what is the value of p in the equation P to the third power equals 8
John is using square ceramic floor tiles that are each 18 inches long. how many of these tiles will john need to cover a floor with an area of 81 square feet? s
math help please i need the question
If you can buy 2⁄3 of a box of chocolates for 5 dollars, how much can you purchase for 4 dollars? Write your answer as a fraction of a box.
Enter the word that correctly completes the sentence.
Assume that the hourly price for the services of tarot card readers has risen and sales of these services have also risen. one can conclude that
When choosing a topic for your writing project, you should consider A. the course description of your class, because this will indicate your instructor's prefe
why did christopher columbus get all the credit for discovering north america