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

What is Sir Francis Drake hardships
If the speed of an object is tripled, its kinetic energy will be
A child is standing across the street from his apartment . His mother is on their balcony . The angle of elevation between the child's eyes and his mothers eyes
in what ways is climate controlled by the sun and the water cycle ?
in an expression(8/9) squared (-81)+3/5dividedby-9/10
When was William Shakespeare born
How does transpiration play a  role in the water cycle ?
What is a direct combination reaction?
What are two different ways to describe and label the layers of the Earth?
What is the numerator or denominator of 4/5