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

59, 51, 55, 46, 50, 40, 44, ____, ____
what is 18/42 in it's simplest form?
There are 34 adults and children13 on tour how much money will the group save by visiting the main deck of the observation tower instead of the top deck explain
Which statement about the U.S. Constitution is true? A. It called for judges to be appointed for a limited term of office. B. It is an expanded version of Thoma
Why do you think England passed the Tea Act?
ALGEBRA! NEED HELP! ~Write a formula for the total surface area of a cube in terms of its edge length x. Explain your reasoning.
solve the following quadratic equation (x+3)2+25=0
How to write 1.35 as a fraction in lowest form
explain the steps you would take to write 36/10 as a decimal
what was the result of the peloponnesian war?