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

Tratado III- Lazarillo de Tormes: Cuando dice Lázaro que « por su vestido y su apariencia le pareció justo la persona que él necesitaba », ¿qué significa ?
K/x=v-w , for x indicated variable
Tom's tank hold 12.5gallons of gas. Ifgas costs $1.96 pergallon, how much wilIt cost to fill histank?1​
write a equation that represents the line
ambassadors from the us in over ____ countries HELP
write a argumentative essay on should graffiti be considered art or crime?plz help i need this done today thank you ESSAY PLZ PLZ ESSAY​
2. What will happen to the solute in a jar of a sugar-water solution if you leave it in a dark place for several days without disturbing it?
A sample of gas is held at 100oc at a volume of 20 L.if the volume is increased to 40 L what is the new temperature of the gas in celcius.
hola como te llamas​
Pleaseeee help me solve this problem