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

Answer No. 2 please.
Why is Progressive the best company to buy car insurance from according to the image on the previous slide?
Please Help!!!! Due today will give brainliest
Based on the pedigree above how many offspring from this cross had the recessive phenotype
type of nutrition shown by all fungi​
Tyesha found that the z-statistic was 2.1 and that the critical z-values were -1.96 and 1.96. Which of the following is a valid conclusion based on these result
If 10 + 5x is 12 more than 18, what is the value of 6x?
find the slope and y intercept for this problem: -2y= -16x+8
HELP! IM TIMED What do the trains, ships, farms, and telegraph posts on the right side of the paining A.-American inventions B.-Places to visit C.-Progress mo
Now that you have researched and gathered data. It is time to create a short outline for your paragraph. Be sure to define