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 are the steps to evaporation but without heat just evaporation steps to follow
Who was the first person to walk in the moon
Who was the first person to walk in the moon
The volume of a cylinder with height to radius ratio of 4:1 is 108 pie centimeters cubed. Find the radius and height of the cylinder.
Which of the following occurs during anaphase I of meiosis? (A) Formation of tetrads (B) Separation of homologous chromosomes (C) Crossing over (D) Separation o
Tickets to a play cost $5 for adults and $2 for children. If 1,750 tickets were sold for a total of $7,100, how many children’s tickets were sold? Can someone e
Air Mass is a large body of air that has the same ____________ and ___________ throughout.
Which substance does not obey the Lewis octet rule? (a) N₂ (b) NO (c) CF₄ (d) Ar Can anyone explain this?
Who was the first person to walk in the moon
What role should the government have in enforcing equal rights for Americans?