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

A quilt pattern uses a square with 7 1/2 inch sides. Patty wants to make each side 2/3 of the patterns length. Find the new dimensions.
Factor. 4x² + 10x 2x²(2x + 5) x(2x + 5) 2x(2x + 5) 4x(x + 5)
How would you re-word: To bring awareness to other types of cancer not just the main ones.
Answer?????????????????
who was the first and 16th president
Divide 11 by t. Then, add 2.
To go bowling, it costs $2 to rent shoes and then $3.25 for each game bowled. Which of the following functions gives the total cost to bowl g games?
which one of the diagrams illustrates a map view of the mid latitude cyclone
PLEASE ENGLISH HELP?? All religious practices are protected under the first Amendment. a. True b. False Many writers use their freedom of speech for social c
How many times does 3 go into 27?