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

Out of 100 emails, 60 are spam and 48 of those contain the word buy. Of the remaining 40 emails that are not spam, only 4 emails contain the word buy. Given tha
How media influence public opinion of sport negatevely and positively?
Please help on this one!
The Empire State Building is just over 1,450 feet tall. In anticipation of visiting this landmark on your vacation, you create a model of it using blocks. a. S
The diagonal of the rectangle is 13 inches, and the side lengths of the triangles are Pythagorean triples. To the nearest tenth, what is the area of the shaded
need help now!!!!!!!!!!!!!! pic below
What is a type of Liquid fuel derived from plant materials
Can someone help me solve this math problem, please? Thanks.
If an object has 2 mililiters of volume and 10g calculate the density, the g = Grams.
An in-text citation is just _____. a citation in parentheses a footnote or an endnote parentheses around supporting information a direct quotation from a source