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 truck is carrying grapefruit juice, mango juice and orange juice bottles in a ratio of 1:1:7. If there are 105 orange juice bottles, then how many juice bottl
a silver bracelet has mass of 52.45g and volume of 5cm³ find density of silver braclet​
subtract fractions with different denominators
The dendrite portion of a neuron _____. a. functions as an input zone b. is made up of white matter c. transmits electrical signals d. is typically very
how is the equation on the top equivalent to 3. Show 5 steps on how you did it.
6. Sources of nervousness
:( Our professor has not shared the lecture notes yet (he doesn't let us write in class unless we're working out a problem, Dumb thing to do I know) and I have
Simplify the following. -8 - (-4)
A baker at a successful bakery makes three types of cupcakes: vanilla, red velvet, and double chocolate. On Wednesday, he made 18 vanilla cupcakes, which was 17
Why is x so important