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

why did the weimar republic collapse?
A track is 200 meters long. How many times must Julius run around the track to run 3 kilometers ?
solve each system using substitution x=-2y=1 x=y-5
Can someone please do number 30.
You want to fill a 2-foot shelf with framed pictures.There are x pictures in 4-inch frames and y pictures in 8-inch frames. Write an function for this situation
6x-5y=22 y=-8 using systems of equations by substitution
9x-2y=19 7x=21 can you please help me answer this question
What is the answer to this , 6.6=w-1.2 w=
in what part of chloroplasts do dark reactions occur?
Is a white shirt cooler or warmer in the sunlight? cooler because it filters light cooler because it reflects light warmer because it filters light warmer becau