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 is not one of the three R's? renew reduce recycle reuse
The axons of the retina culminate in the ___ nerve which forms a ___ spot on the retina.
select ALL correct answers which of the following is an example of negative peer pressure? a.inviting you to go out with a group of friends b.exercising with
Imagine that you are a third-grade teacher. if you wanted students to create portfolios as a way of discovering how much they've improved over the school year,
Please Someone help me Activity: After Papa's death , mama finds herself in a tough situation. She has lost her husband, her land, and has refused a powerful
x=1/16y^2 the directrix of the parabola is
What are the two parts of respiratory system and their parts?
Photoautotrophs select one: a. make sugar by using organic raw materials. b. produce organic molecules from inorganic molecules. c. eat other organisms that use
The standard reduction potential for I2/I –is +0.54V, and the standard reduction potential for Br2/Br -is +1.07V. Which reaction occurs when bromine is added to
________________ policing is a model that involves using data and analysis to predict future police problems and implement strategies to resolve problems.