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

o Calculate the pH of 500 ml of buffer solution containing .2M of ammonium sulphate and 0.3M ammonium hydroxide which 5 2.1% ionized in dilute solution. (kb of
find the estimates for the following:
(a) What is irrigation agriculture?(b) Discuss three factors which favourirrigation agriculture in Nile Basin,(c) List two importance and twoproblems of irrigat
please help me with this​
____ more than 3455 is two hundred seventy -eight thousand five hundred eighty three​
Can someone help solve this one ? I can’t solve it and it would be very helpful if you can explain thanks you.
Question 7 of 10 A railroad freight car with a mass of 32,000 kg is moving at 2.0 m/s when it runs into an at-rest freight car with a mass of 28,000 kg. The car
help pls, i need help pls
why should we avoid the company of negative people?What can you do if you are in the company of negative people?​
write a paragraph on how society come into existence​