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

WHOEVER SHOWS ME THE CORRECT ANSWER WILL GET MARKED BRAINLIEST!!!!!!!!! which layer or Earth has partially melted material that moves the tectonic plates??A - C
The inequality x + 2y ≥ 3 is satisfied by which of the following points? (Select all that apply.) (1, 1) (-3, 4) (-2, 2) (5, -2)
a bicycle is a compound machine, true or false
A U.S. negotiator helped to work out a power-sharing arrangement between Protestants and Catholics in which country? Northern Ireland South Africa the Philippin
I have been a nurse for twenty years. In that time, I have seen a great number of patients suffer because they did not have health insurance. One of the worst
business buying often involves long-term relationships with suppliers. How does this affect buying behavior​
PLEASE HELP 15 POINTS
HELP PLEASE I BEG YOU
Write a quadratic function in the standard form who’s graph satisfies the given conditions 1. Passes through (-5,0), (1,0), and (4,0)
Consider the diagram