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

in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
how were north american colonies all similar in the 1700s?
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
how were north american colonies all similar in the 1700s?
how do you write 4540 million in standard form?
in the number 13,407.036 there are two 3's. Explain how the values of the 3's are related.
What is the amplitude of y=1/2 sin2x
Mini-Project: Cents and the Central Limit Theorem 1. Collect a sample of at least 50 pennies by setting aside all the pennies you receive in change for severa