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

A coffee distributor needs to mix a(n) House coffee blend that normally sells for $9.60 per pound with a Gazebo coffee blend that normally sells for $14.00 per
PLEASE HELP ASAP What are gases and liquids categorized as? A organic compounds B solutions C solids D fluids
- 3+ 1/2 (3 - x) <-7
Which four parts of this excerpt from W. W. Jacobs's "The Monkey's Paw" show that the White family doubts the major's story? "Hold it up in your right hand, and
? tablespoon = 0.94 mL
When you move the decimal point, how can you know whether you are increasing or decreasing the number?
Lewis Carroll's puzzle in terms of axioms. Lewis Carroll Axiom 1. If a kitten loves fish, then it is teachable Lewis Carroll Axiom 2. Every kitten without a ta
What’s the slope of the parallel line of y= 1/2x +6
Need Help!!! The minimum of the data ___. The first quartile is ___. The median of the data ___. The third quartile is ___. The maximum of the data ___.
how are machine-made products so important to industrialization