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 was significant about the Olmec civilization? (5 points) The Olmec civilization left a great deal of written records behind. The Olmec civilization ha
Simplify √38 is a fraction
Which of the following European demands had a major effect on American Indians near the St. Lawrence River?
A personal narrative brainstorming
Algebraic Expressions Question A company charges $59.99 for cable TV installation and $49.99 per month for basic cable service. Part A Write an algebraic expr
Calculate the mean, median, and mode of the following set of data. Round to the nearest tenth. 11, 9, 7, 6, 8, 2, 15, 1, 12, 15, 14
is the square root of 10 rational or irrational?help plz
What dog breed should I get?
Why is it important that king David united the tribes to Israel?
A hockey stick hits a puck on the ice. identify an action-reaction pair in this situation.