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

1. According to NSCC, a school's climate is "the______ and _____ of school life."
How many moles is 25g of ammonia (NH3)?
What is this Simplify as √16y¹6
Question 5 of 10 How many children should be present when a teacher implements the Think, Show, Tell, Talk strategy? Less than six children Six to ten children
How are you acting as a true partner to each other, our clients, our ecosystem and/or our communities?.
At the end of Lizzie Bright and the Buckminster Boy, why does Reverend Buckminster side with the Phippsburg townspeople against the people of Malaga Island? Mr.
In church architecture, Romanesque is most identifiable by______ and Gothic by______ A. rounded roofs; pointed roofs B. larger sanctuaries; cruciform shapes C.
Which answer choice describes the following sentence from "Science and the Sense of Wonder"? But what I see—those quiet, twinkling points of light—.
Worldwide, what percentage of human water usage does industry account for? (Note: This relates to water usage now, not water supply.) What is the percentage in
If f (x) = one-ninth x minus 2, what is ? A. B. f - 1 Baseline (x) = one-ninth x + 2 f - 1 Baseline (x) = -2 x + one-ninth Please see picture: helpppppp