maddygabbard529 maddygabbard529
  • 01-11-2021
  • Computers and Technology
contestada

Consider the following code: color = input("What color? ") if (color == "green"):   print ("Correct") else:   print ("Nope") elif (color == "red"):   print ("Correct") What happens when it is run?

Respuesta :

severaja1 severaja1
  • 09-11-2021

Answer:

There is an error, the else should be after the elif

Explanation:

Answer Link

Otras preguntas

What does the pair of shoes weigh on earth
The descriptive details in this excerpt suggest that the story takes place somewhere that has a rustic, rural setting. a busy, suburban setting. a futuristic, u
The Declaration of Independence became the highest form of law in the country. A True B False
ten students in Ashton class were randomly selected and asked how many phone call they made yesterday their answer where 1,0,10,2,9,15,0 and 3 find the mean of
What part of the immune system is responsible for destroying or neutralizing pathogens.
1+2-3+4+5-6+7+8-9...+97+98-99
What are examples of extracurricular education? Select three options. a sports team a club that plays board games together a photography class a science class a
identify the food preservation method described. question: A technique of placing the food undernloa temperature to maintain it's freshness.​
Hard on the gas by Janet S Wong. My grandfather taught himself to drive rough, the way he learned to live. Push the pedal, hard on the gas, rush up to 50, coast
How might the debate over slavery lead to conflict in the future?