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 times 3 equals 62
Cory earns $20 for every lawn he mows and $9 for every hedge he trims. He uses the expression 20x + 9y to keep track of his earnings. Part a. Identify the coeff
What is 21 divided by 94.5
List four physical properties of a glass of milk
Steroid use can have several physical consequences. What effect can the use of steroids have on men? A. deepened voice B. enlarged breasts C. increased facial h
Water molecules are polar, with Select one: a. the oxygen side being slightly positive and the hydrogen side being slightly negative. b. the oxygen and hydrogen
Which genre uses narrative techniques to recount personal experience and development?
knowing the latitude of a location would be most helpful in determining
Who led movements to establish the Republic of Turkey? A. Aglar Baba B. Saad Zaghlul C. Mustafa Kemal D. Gamal Abdul Nasser
what country has a chancellor