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 the best way to corroborate information? Find biased sources that oppose your position on a scientific topic. Find unbiased sources that support your p
Physical Science is the study of ____. Question 1 options: energy matter all answers are true how matter and energy interact What is energy? Question 2 options
Find a is XZ=19,Xy=a+4 and YZ=a-7.
Which function is graphed?
Convert 88% to a fraction. a 1/8 b 22/25 c 23/50 d 22/55
A park ranger uses two drones to observe wildlife. After letting the drones hover at the same height for a while, she decreases the height of the first drone by
se the relationship to answer the question. poet : poem :: baker : pie Which of the following sentences is the correct way to read the analogy
Help! Whoever answers first gets a thanks and Brainliest!
plzzzzzzzzzzzzzz answer fast Which correctly lists the order of aerobic respiration from step one to step three? electron transport chain, citric acid cycle, gl
Please anyone help me answer this question am giving the brainliest