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

How can we protect the world's biodiversity??
Who knows the Answer for all of these
1. What blood parts help form blood clots? 2. Why are people with type O blood called universal donors?
What number do you get when you multiply all of the numbers on a phone's number pad?
4/7 of the students at a park were boys. If there were 66 girls, how many students were there at the park?
Samantha saw two bottles of ketchup at the store for the same price one bottle contain four pints of ketchup and the other contained 1.25 quarts of catch-up whi
What country does not have political rules?
A printer company makes plastic banners 15 feet long by 6 feet wide an overseas custermers wants to know about how many meters the banner is
What number do you get when you multiply all of the numbers on a phone's number pad?
n your own words, explain how the changes in the temperature of ocean water causes movement of ocean water from one place to another.