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 makes Buck a good leader? How is he and even better leader than Spitz? Provide specific examples- at least two.​
£110 is divided between Sara, Gordon & Malachy so that Sara gets twice as much as Gordon, and Gordon gets three times as much as Malachy. How much does Sara
Item 2 (1) The saying goes, “Find a penny, pick it up. (2) All day long, you’ll have good luck.” (3) According to economists, however, stopping to pick up a pen
How do you think the scientists who found the Archaeopteryx fossil felt? A:Excited because it gives more evidence that some dinosaurs evolved into birds. B:Exci
What is the answer to y=2/3x+4
Name each polynomial by degree and number of terms of -7
what is 49/100 as a decimal?
PLease Help Match each form of payment to its most likely purpose. Drag the items on the left to the correct location on the right.
can someone who’s actually smart answer my last question??
equivalent to 25+3(a−5)+7a.