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

Ida Tarbell is known as being a muckraking journalist for her exposing of abuses in which industry? A) oil B) steel C) automobile D) meatpacking
what is the term for the period when many western europeans traveled across the atlanic and pacific oceans for the first time
Please help and thank you
Why is dowry system a social problem? Write in sentences. ​
PLEASE HELP ME I DONT WANNA FAIL Which most accurately states how the Italian Renaissance influenced the Low Countries of Northern Europe? A: Northern European
How many times a day is blood sent through the body?
"do my subordinates perform unambiguous, easily understood tasks?" this question reflects the ______ dimension of situational control.
The solar nebula was a
an ecg is a recording of the electrical activity of the heart
A ball rolled 295 feet in 2 minutes. What was this balls average speed, in feet per second ?(round to the nearest hundredth)