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

You feel every citizen has the right to own a gun. If you argue for that right based on the Constitution, you're most likely to refer to A. Amendment VI. B. Am
What dialect do most people in the United States speak? Standard English Midwestern English Southwestern English General American
Jill is making lemonade. The original concentration was 25 mL of concentrate to 2 L of water. People found that too strong so she decreased the concentration t
how did french vanilla result from the columbian exchange
which group gained the most from the opening of the panama canal in 1914
Most deaths related to cardiovascular disease occur after what age? A. 20 years old B. 40 years old C. 60 years old D. 80 years old
Which statement best describes the composition of magma? a. Magma is an element all its own. b. Magma contains the same elements as snow. c. Magma contains o
Which of the following is a statement that supports Size Acceptance? You've really gained weight! People get fat when they overeat all the time. People come in
True or false? Every decision has consequences.
Show some pictographic sentencs that decribes phrase often associated with Hammurabi