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

how agriculture is seen as the cause of inequality between sexes
how do i solve 5(-6 3m)
What is the period of the function y=3/2cot(3/5x)+5
A length of rope is stretched between the top edge of a building and a stake in the ground. The head of the stake is at ground level. The rope also touches a tr
in a basket, there are 24 good oranges and rest are bad oranges. The ratio of good oranges to the bad oranges is 3:1, find the number of bad oranges
who established the first comittee of correspondence in Boston in 1772 and why?
find the common ratio of the sequence -172 -86 -43 -21.5
assign icd-10-cm code(s) for the following case: the physician sent blood for hiv testing: the patient complain of fever weight loss.
How to write expanded form 314,207
The table below represents a linear function f(x) and the equation represents a function g(x):. . . x. -1, 0, 1 ; f(x). -9, -1, 7. g(x) = 3x - 2. Part A: Write