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 parachute is jumping from a plane onto a rectangle field with 6 round silos .What is the probability that he will land in the rectangle,but not on a silo?​
Solve the equation. 5y – 1 + y = 34 + 4y – 5y
PLEASE I NEED HELP, DUE TODAY!!!! Which of the following identifies the main theme of the poem? A. There is nothing more powerful than the natural occurrences p
Some paragraphs build up to a main idea, so the topic sentence is at the _______
Which scale factors produce a contraction under a dilation of the original image? Select all that apply. A) -2 B) -1/2 C) 3 D) 2/3
Solving Rational Equations. LCD Method. Show work.[tex]\frac{2}{5x} +\frac{7}{2x} = 1[/tex]
Take a factor out of the square root: 1. Square root of 10y^2, where y<0 2. Square root of x^3 3.Square root of a^5 4.Square root of 16y^7 5.Square root of 3
Need some help with these problems please.
Which organization pattern does this paragraph follow? How was the
solve the equation. (show step by step)(a + 6)(3a - 7) = 0