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

The total entropy of a system and its surroundings always increases for a spontaneous process. This is a statement of
Rick works off commission. He earns 10 percent of all manufacturing equipment he sells. if he made a sale of $9,000 how much was his commission​
¿Cuales son los recursos gráficos del catálogo?
Find the product. (Do not use spaces in your answer.) d j · d k
Triangle ABC is transformed to obtain triangle A′B′C′: Which statement is correct for Triangle ABC. and Triangle A prime B prime C prime.? A. Triangle ABC is si
Today, 11:50 Sawing and cutting. Level Arjun cut a loaf of bread and made sandwiches. How many sandwiches did he make if he made 10 cuts?
Alliances are often used to pursue business-level goals, but they may be managed at the corporate level. Explain why this portfolio approach to alliance managem
Encontrar la magnitud de la velocidad angular de un disco de 0.75 rev/así como la magnitud de su desplazamiento angular Si su movimiento duró 180 segundos
Enter the sequence of the DNA coding strand with a 5-3 polarity. DO NOT WRITE 5 OR 3 OR 5' OR 3' IN THE BOX!
What is socialization? Write in your own words. ​