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

According to quality assurance programs, how often should the chemicals be changed in a processor?A. Once a dayB. Once a weekC. Once a monthD. Once a year
1.272727 in to simple fraction
if the temperature drops by 5 degrees Celsius from 3 degrees Celsius what is the new temperature​
How is the graph of y = negative RootIndex 3 StartRoot x minus 4 EndRoot transformed to produce the graph of y = negative RootIndex 3 StartRoot 2 x minus 4 EndR
I NEED HELP ASAP PLEASE!!!! I'm having trouble with a math problem can someone help me with this? (100 POINTS!!!)
Which of the following was TRUE regarding the impact of Ancient Greek and Roman politics? It provided universal suffrage to all. It placed great emphasis on
A child in a wagon of total mass 32 kg is traveling at 1 m/s at the top of a large hill. The child-wagon system coasts down the hill. At the bottom of the hill
Adam voided 2 oz. How many ml did he void? a) 60 ml b) 120 ml c) 240 ml d) 480 ml
Select 2 adjectives “The chemist opened the heavy door and quietly entered the bright, clean laboratory”
what is 0 fahrenhit to celsius