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

which term describes an enzyme
The Sino-Japanese War exposed military weakness in A. China. B. Japan. C. Korea. D. Russia.
Which postulate of relativity was supported by the experiments of Michelson and Morley? a. principle of relativity b. constancy of the speed of light c. princip
The IMF and World Bank have been criticized as undemocratic. Why?
Who is W. E. B. Du Bois?
what issue created tension between fdr and southern democrats?
Which concerns of the Anti-Federalists were satisfactorily resolved in the Constitution?
the ratio of isabellas money to shanes money is 3:11. If isabella has $33, how much money do Shane and Isabella have together?
round 44,769 to the nearest ten
Which is a true statement? Themes are implied by the writer and are never obvious. Themes may be specific to one culture or apply to multiple cultures. Themes a