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

Cookware companies have been using a chemical called C-8, which helps to create a nonstick coating to pans. However, the Environmental Protection Agency (EPA) r
Graph equation 8+4x=2x
Factor this expression completely. ab + 4 + a + 4b
A preformatted text box inserted via the text box button on the insert tab is a _______. select one: a. inline object formatted with square text wrapping b. f
melissa has 14 reports to file, if each report takes an average of 1 hour and 15 mins, how long would it take to file 70% of them?
Which movement helped most to reintroduce classical Greco roman ideas to western culture
Typographic errors in a text are either nonword errors (as when "the" is typed as "teh") or word errors that result in a real but incorrect word. Spell-checking
Where does the aerobic respiration take place in a cell
melissa has 14 reports to file, if each report takes an average of 1 hour and 15 mins, how long would it take to file 70% of them?
round 514,733 to the nearest thousand