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

please help me :))))))
The Mississippian culture constructed large mounds at ____________, near present-day St. Louis. Anasazi Kansas City Cahokia Jamestown
so what is 1+5 just giving points
What is the power output of a pump which can raise 60kg of water height to height of 10m every minute
A ball is tossed upwards into the air with an initial upwards velocity of 3.0m/s. What is the ball's velocity when it returns to the height from which it was to
A group of buyers and sellers of a particular good or service is called.
Which trigonometric ratios are correct for triangle DEF? Select three options sin(E) = 24/25 cos(D) = 7/25 tan(E) = 24/7 sin(D) = 7/25 tan(E) = 7/24 cos(E) = 24
Layers of sediment forming at the bottom of the ocean
What is the area, in square feet, of the shape with a base of 8ft with 6.3 ft hight?​
HELP!!! 100 POINTS PLUS BRAINLIEST: The United States and the Soviet union became superpowers and completed for global influence. The cold war is sometimes said