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

80 25 x pls help me with this one
What two things change at the end of "January 11th" as a result of the story's plot? Select the two correct answers. James's relationship with his brother where
power of a crane is 25000 watt calculate the time required by it to lift a load of 6000 kg up tp the height of 20 m​
Help brooo this is sooo easyy
A cone has a radius of 1.6 meters. The height of the cone is 8 meters. What is its volume?
Help plssssssssssssss
In the context of this graph, what do the slope and y-intercept mean? Help me for a brainliest
what examples of moral complexity are in to kill a mockingbird
Im REALLY REALLY sorry but need help with these too i already ask this it was wrong
What is the decimal equivalent for y1/8