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

Data are drawn from a symmetric and bell shaped distribution with a mean of 120 and a standard deviation of 5. There are 900 observations in the data set. What
How is it possible for Mercury to have frozen ice ?
Historians of china have traditionally dated the beginning of Chinese civilization to the founding of the what??
Historians of china have traditionally dated the beginning of Chinese civilization to the founding of the what??
what is the answer for (20,8),(9,16) ?
how is mass transit in cities a possible solution tk urban air pollution?
How is it possible for Mercury to have frozen ice ?
(10y^3+20y^2+55y)/5y
(10y^3+20y^2+55y)/5y
Find Domain of the functionsquare root of (x-8)/x(x-9)