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

I think I got the right answer, but please tell me if I didn’t! THX!
¨might makes right¨ is a statement that might be heard______.a. during a protest marchb. in the state of nature c. in a courtroom d. during a political process
a teacher buys 8 packs of orange erasers and 6 packs of blue erasers forhis classroom .There 24 orange erasers in a packs and 28 blue erasers in a pack. Wh
Who is credited with discovering penicillin? Charles Darwin Sir Alexander Fleming Jean Baptiste T.O. Diener
Money is shared in the ratio 1:3. The smaller shareis £68. Calculate the larger share.(please show the steps, not just the final answer) ​
You and a group of friends are going to walk to the park at night. What are 3 risks you face from being in this situation?
I need help on this math.
Edgar Allan Poe uses many sound devices in his poem "The Bells." Which two words from the poem are examples of onomatopoeia? Keeping time, time, time, In a sort
3x+5=3(x+1)−5 plzzzzz solve asap
The Egyptian state formed during the reign of king __________