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

Which factors caused crops to stop growing in Sumer? Choose all answers that are correct. a. poor drainage b. salty soil c. extended droughts d. pest infestatio
Yo_________muy inteligente. Answer for Blank 1:
Two equations are shown: Equation 1: (x –12) =12 Equation 2: y – 12 = 12 Solve each equation
In a play, the rising action consists of the events that lead up to the a. last line in the scene b. climax c. external conflict d. internal conflict
If someone is a “nativist,” who is he or she against?
David charges $15 plus $5.50 per hour to mow lawns. Ari charges $12 plus $6.25 per hour to mow lawns. In what situations is Ari's charge greater than or equal t
A cube is measure 1 cm on each side and has a mass of 2 grams. Will it float on water?
A camera is an example of ____. a. an experiment c. technology b. a robot d. a scientific method
President Truman sent a fleet of ships to what island in 1949 to protect it from Red China?
Wind direction is determined by the Earth’s rotation. true or false?