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

Whats the volume of this Shape?
collect the pictures to illustrate contact forces, forces at a distance and prepare a report​
need of food for living 150 word​
"When in the Course of human events, it becomes necessary for one people to dissolve the political bands which have connected them with another, and to assume a
What figurative language device was used in “Like a starbucks gift card” and “The ushers would tackle them, like bouncers at a club, and hold them down for the
Write an equation of the line with the given slope that passes through the given point. M= -3; (-4, 6)
which one of these 3 ( beta, alpha, gamma) is the strongest and which is the weakest?
Tickets sold for $3.50 and student tickets sold for $2.20 On a given night, 321 tickets were sold for $937.50. How many of each kind of ticket were sold?
Can someone please help me!
What does asymmetrical balance mean