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

what is required to get a bill started
find the product.(x+ut)(9x-8ut)​
The United States Department of State is an element of the Executive Branch concerned with which of the selections listed below? A. interstate commerce B. forei
A mechanic gives a survey to all of his customers asking them to rate the quality of the service they received. He then keeps track of how many customers return
Make a table and graph the function Y=3x+2
Need help with these questions
Ms. Johnson uses a statistics program to analyze all the data collected by her students during a lab experiment about the acceleration due to gravity. The progr
Mary covered her kitchen floor with 10 tiles. The floor measures 6 feet long by 5 feet wide. The tiles are each 3 feet long and w feet wide. Write an equation t
Why does Garvey state something terrible has happened to you to make you want to kill a poor small animal statement do you agree or disagree with this statement
Please help 78% nitrogen, 21% oxygen Ionosphere temperature falls to -93*C temperature continue to rise up to 1500*C temperature drops from 17 to -52*C protecti