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

Synthesis of a protein stops when
Can you please help me with this
60/96 in lowest term.
Help pls I am failing this class
1. After 11 hours of driving, you must have atleast _____ consecutive hours off dutybefore you are allowed to drive again.A. 8B. 9C. 10D. 11​
WILL MARK BRAINLIEST!!!!! When businesses across an industry increase the price of a good, which could be true regarding market equilibrium? A. There is a short
Which statement accurately describes how to performa 90 counterclockwise rotation of point A (-1, -2) around the origin
7 less than m as an algebraic expression
What is the setting of "A Visit of Charity" by Eudora Welty?
-7. This Nubian kingdom was formed when the stronger villages overtook weaker ones. A. Kerma C. Napata B. Kush D. Sudan (Please help)