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 would our world be if civil rights didn't exist?
Skylar is arranging 8 objects on a shelf. How many different ways can she arrange them? How can I figure this out using the formula for combinations?
What is ethnic cleansing?
_____ warm outside; the bird is splashing in _____ bath to cool off. Its; it's It's; its It's; it's
What temperature is 10 degrees lower than -7
The CSA had stronger trade relations with Europe, especially with
-2x+y=10 4x-y=-14 solve substitution
Which integer is between -5 and 3?
When multiplying or dividing two numbers of the same signs, you will get a _______ answer positive negative
how do you find 19% of 72