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

food couldn't reach the stomach without the esophagus and the what
A merry-go-round makes 18 rotations in 3 minutes. What is its angular speed in rpm?
if log28 = log4 +logx what is the value of x
A particle is moving along the x-axis so that its position at any time t is greater than and equal to 0 is given by x(t)=2te^-t?A) Find v(t). B) Find a(t).C) At
What is the sales rate for 5% of $50
Who established a school for navigation?
What does ¿Cuál es la fecha de mañana? mean and how would you reply?
solve the equation in factoral form   (x+3)(x-2/5=0
Decrease £120 by 45%
Which substance does not obey the Lewis octet rule? a. O₂ b. NO c. CO d. N₂ Can anyone explain this one for me?