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

Use the information in box and your knowledge to answer the question that follows. Which group in the box summarizes Rome's contributions to modern democracy ?
A new Community Wellness Complex is being built in Oak Valley. The perimeter of the rectangular playing field is 284 yards. The length of the field is 5 yards
How would I graph a line that is Parallel to y=-3/2x+7 that passes through (-4,-2)?
which is an component of the modern cell theory that was not part of the original cell theory?
Name any two polymers which are formed by the process of condensation polymerization.
how do the tones of "Barbie Doll" and "What's That Smell in Your Kitchen" differ? A. "Barbie Doll" has a rebellious tone and "What's That Smell in Your Kitchen"
An object moves 2.5 m. This is an example of a _______. Question 3 options: distance direction speed velocity
The value of the solid's surface area is equal to the value of the solid's volume. find the value of x. 5*6*x
Lesley pours 1 carton of apple juice and 1 1/2 cartons of orange juice into another big jug, what is the ratio of apple juice to orange juice in lesley’s jug Ap
Plz help I don’t understand