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 solution of hydrogen peroxide, H2O2, is titrated with potassium permanganate, KMnO4, according to the following equation: 5H2O2 + 2KMnO4 + 3H2SO4 = 5O2 + 2MnS
How do we use the Pythagoras theorem in "everyday life".
What's the term for: unwilling to bend; unyielding
How would you call in other words to scold or punish severely
Solve the quadratic by factoring 2X²-2X-12=0
If X is the set of negative numbers and Y is the set of positive numbers, then the union of X and Y and 0 is the set of (A) all real numbers (B) all integers (C
A tree casts a shadow 27 m long. At the same time, the shadow cast by a 66-cm tall statue is 56 cm long. Find the height of the tree to the nearest tenth of a
Jim has gotten scores of 99 and 93 on his first two tests. what score must he get on his third test to keep an average of 90 or greater
what do I do to figure out this problem:3x+8=26+x
what is glossities and deficiency