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

Which statements accurately describe Roger Williams? Choose all answers that are correct. a. He was the founder of Rhode Island. b. He supported religious toler
What surplus products did Sumer have?
True or False: Chemical energy stored in food cannot be transformed into mechanical energy
Write an expression for the calculation double the product of 6 doubled
Why is faulting most likely to occur near Earth's surface and not deep within Earth?
how how do you how do you estimate 4.23-2.51
adam is going to cook a turkey for 14 peopleand wants to allow 3/4 lb per person. 1lb= 450g How much would a turkey cost for 14 people?
Which issue listed in the Declaration of Sentiments was least likely to gain support from most people? A. "He has taken from her all right in property, even to
what is the sum of 3/8 + 1/16
Each Friday, the school prints 400 copies of the school newsletter. The equation c = 400w models the relationship between the number of weeks and the total num