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

What law is very important for a small business?
Test plans require input from both end users and information systems specialists. a. trueb. false
Whats the answer i never understand Philippines language in history. Pls help Just answer 5-10 please...
HELP!!!! 50 POINTS What is the genotype of individual |||-2?​
Select the correct answer from each drop-down menu. on was a nineteenth-century artistic movement that influenced nationalism in Europe. It emerged as a reactio
The powers of both houses of the California Legislature are nearly identical except for the Senate ___. A. Term lengths B. Number of members C. Voting procedure
Explain inter relationship among information system for workplace management information
What percent of 253 is 81
Who is the chief minister of Assam?
what is 1/10 of 0.002