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 equal to a tempature of 20 c. 20 F. 68F. 36F. 32F
This is probably really easy but, I would like if someone told me the answers because I can’t decide on my choices. Please answer quickly it is due today! This
Please answer this correctly without making mistakes
through which filter did water went through faster?​
Look at the picture and write the body part in Spanish using the definite article and in the parenthesis write the part in English, > follow the model: La Ro
Because Mr. Dunham always wanted an opportunity to work with animals, he decided to volunteer at his local animal rescue shelter on Saturdays. However, there is
Based on this excerpt from “Let Sleeping Dogs Lie,” the reader can infer that _____.
which of these treatments is effective against HIV in May delay the onset of AIDS
Need help 11 points There is a string of red and blue lights blink ever 5 seconds, and the blue lights Blink every 5 seconds. How many times will they blink at
What are some thematic components for the story "The Machine Stops"?