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 of the following is a rounded bulge on the underside of the brainstem?A. MidbrainB. PonsC. InsulaD. Medulla oblongataE. VentriclesF. Cerebral cortex
For a good that is a necessity, demand A. has unit elasticity. B. tends to be inelastic. C. cannot be represented by a demand curve in the usual way.
will gold or water gain more heat when heated up
DDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Please Help Me with this statistics things
In the essay, al-Sharif claims that she was brainwashed as a child and that her life was stolen with a lie. What lie was she told growing up in Saudi Arabia? Ho
Alarm care business charges $24 an hour plus a standard equipment fee 4 hours of work cost $126 write an equation in point slope form to describe the situation
Deductive or Inductive agrument? 1. In a recent study, 100% of those surveyed survived playing Russian Roulette. We can conclude that it’s very likely that Russ
7 kg of gold at 72 C cools to 26 C. The specific Heat of Gold is 129. How much heat is given off?
will gold or water gain more heat when heated up