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

This question is based on the following paragraph. The paragraph contains some words that aren't capitalized when they should be. It also contains some words th
Convert 16g to mg. 16,000 mg 160 mg 1,600 mg 1.6 mg
A copy machine makes 36 copies per minute. How many does it make in 3 minutes and 15 seconds
in what different ways did the people lived in ancient china
Individuals eliminate alcohol from their bodies at an approximate rate of__________.
map part that shows how much space on the map represents a given distance
if y=3x + 2, find the value of y when x= -2
explain how comparison tangent of 45 and 738 is different from comparing 645 and 649 and how to draw that
What is 2/3 ÷ 1/8? a. 3/16 b. 5 1/3 c. 1/12 d. 3/11?
landforms located east of Roanoke island?