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

50 boxes of ice cream bars with 12 bars in each box if 520 people had ice cream bars how many are left
what were the main functions of a guild? a. to protect the interests of people working in an industry and maintain standards within the industry b. to demand go
what is 0.000068 in scientific notation? enter your answer in the box.
how did westward expansion affect native americans?
what is necessary for a convection cell to be set up in a fluid? a. thermal gradient b. changes in density c. thermal gradient and changes in density
How is the world filled with people?
what does prestige mean?
11. what are threats to biodiversity? (at least three examples)
The numbers of cars (c) in the parking lot increases when the parking fee (f) decrease. Write the correct equation for this scenario and solve for the number of
When can and athlete return to play after a concussion