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

Question 2 of 25 : Select the best answer for the question. 2. What is $3,850 minus $925 ? A. $925 B. $3,850 C. $2,925
Outline the process your workplace implements for case closure or client exits.
All of the following behaviors can transmit STIs exceptA. using the same toilet seatB. kissingC. sexual intercourseD. sexual touching
Genital Surgery ("Bottom" surgery)
Please send help, how to solve it
"Eat Healthy Stay Healthy" is the slogan to keep oneself healthy and active. H are some sources of healthy food: BERRIES, FRUITS, VEGETABLES, GRAINS LENTILS and
Exercice 2 : cornets de glace : Nils qui produit des glaces bio vient d’acheter une nouvelle machine pour remplir les cornets. Avec les documents suivants, ai
The average distance between the earth and the moon is 386,000 km. Expressed in scientific notation, this distance is written as
Prepare an art integrated assignment (Chart tabulation of music, costume, region, language association) of haryana
find the amount of elapsed time between the pair 9:10 am to 4:44 pm