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

-20 ? I’m a little confused on the “2x” part
a recipe calls for 1.5 cups of raisins for 18 cookies how many cups of raisins must be used for making 30 cookies
how many minutes in a month
I kind of want help with this question! If you could help with the answer, that'd be great, if you explain how so I can understand for later, it'd be amazing :D
A caterpillar climbs up a one-meter wall. For every 2 cm it climbs up, it slides down 1 cm. It takes 10 minutes for the caterpillar to climb to the top. Calcula
f(x)=9x^2 g(x)= sqrt 12-x/3 (f o g)(-4)
radio waves pros and cons
Using four fours how do you get to use 19 using +-(/
A committee set up for a limited time to consider a specific question of national importance is called _____
One of your friends claims to have a shopping addiction and another reports being addicted to internet games. what is one potential danger of considering these