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

Which of the following are true statements about a 30-60-90 triangle? Check all that apply. A. The hypotenuse is twice as long as the longer leg. B. The longer
What’s 1 km 600m turned into meters
Cornstarch, a carbohydrate consisting of hydrogen, carbon and oxygen: Ionic Covalent
what is a strain of bacteria
What is equivalent to the equation to 1/4 (8 + 6z + 12) ?
All the rock art in Africa that is possible to find has been found? True or False
define hawks and doves. what generalizations can you make about each group
the most common form of producers found on earth
Which process could cause ice to form a thin layer over a lake?
Joanie takes out a loan from a finance company in order to buy a new car. The following table shows the terms of the loan. What would happen if Joanne put the s