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 old would martin luther kings daughter be?????❓
what is a calorie also referred too?
Why does group 18 in the periodic table not form ions?
Write the point-slope form of the equation of the horizontal line that passes through the point (2, 1).
two identical brass balls mounted on wooden posts initially have different amounts of charge, one +5uC and the other +19uC. the balls are allowed to touch and
what is a carbohydrate that is composed of many monosaccharide units joined together
In "The Jilting of Granny Weatherall", what is the story's theme?
how does victor's story parallel the story of adam and eve
Choose the group who defended Lexington and Concord. First Continental Congress Second Continental Congress an unofficial group of colonists British government
Why did the women of Seneca Falls choose to echo the language in the Declaration of Independence?