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 is the selling price of a $12,543 boat if a $758 discount is given
the system prepares food for absorbtion into the bloodstream
In the Cuban Missile Crisis, President Kennedy demanded the removal of Soviet missiles from ____________. a. Cuba c. Canada b. the Soviet Union d. America
José __________ (entregar) la tarea.
Select the definition of aristocracy. a. rule by a mob b. rule by many c. rule by a few individuals d. rule by one person
A helicopter takes off from the ground 800 feet from the base of a building. It flies in a straight line directly to the top of the building. If the building is
Which expression is equivalent to 9a + 12? 3 ( 3a +2) 3 (6a + 9) 3 (3a +4) 3 (6a + 3)
when he hears the songs douglass always feel
Imagine you are reading an article about the goals of the National Archives to reduce its energy use. What information would suggest that this source is likely
the treaty of Versailles forced Germany to?