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

Ron is mixing blue and white paint together. He mixes 3/8 quart of blue paint for each 5/6 quart of white paint. How many quarts of blue paint does ron mix per
PLEASE HURRY IM ON A TIME LIMIT TY
Where do slaves tend to get better treatment
On average, an adult male sea otter weighs 36kg (79lbs), with some individuals weighing as much as 45kg (99lbs). A female weighs an average of 23kg (50lbs). To
-18 + 11r = 26 please help
Help please?????????
please help i don’t understand
You buy a 5-pound bag of sugar. What is its mass in grams?
Fill in the Paragraph:1. I usuallylate on Saturday (get up). 2. It(be) the beginning of theweek-end and I like to(relax). 3. But on that particular Saturday two
Explain how Alvin York and the term Conscientious Objector are connected in this chapter.