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

How many corners are in a rectangle and how many flat faces
What features of the Chinese form of government did the mongols adopt?
if y is the principal square of root 5,what must be true
In scienceclass the teacher measured 800 milligramns of an chemical.How manyn grams is it.
which of the following would not make a good insulator* rubber*plastic*wood*metal
how many minutes is it before 12 noon if 20 minutes ago it was three times as many minutes after 9 am
What is NAFTA? What countries are involved?
A sighting from sea level to the top of a lighthouse was 60°. The lighthouse is known to rise 180 feet above sea level. What is the distance (to the nearest foo
when the Lenape hunted
Why did the settlers go to new mexico during manifest destiny?