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

List six ways teens can advocate for public health
0.6 is 10 times as much as what
There is a provincial construction supervisor who gets to hire all of the housing inspectors.
What is another way to write 9×200 in multiplication
My numbers has two hundreds the tens digits is 9 more than the ones what is my number
How does geography influence the way we live?
Name three parts of a plant cell that are not found in an animal cell
Which organelle breaks down food into molecules the cell can use
Helpppppp pleaseeeeee!!!
The purpose of paraphrasing Shakespeare’s text is to ? (A)change the setting to modern day.(B) make the language easier to understand. (C)correct possible mista