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

Social security payments are normally deducted from paychecks. True False
Which characteristics of the Italian Renaissance are present in modern-day American society and culture? Explain the Renaissance characteristics you think are p
What was the last major battle fought in Indian Territory? Locust Grove Honey Springs Cabin Creek Perryville
What is 6 divided by 5.04 equal
what is measurements?​
Write an equation of the line that contains the point (5, -7) and is parallel to the line 4x-3y=2
For an employee earning $10.20 per hour and participating in a 401(k) plan with a deferral per pay period of $50, compute the federal taxable wages based on the
Joey is riding his bike through the desert. Joey recorded his distance traveled at five different points during his bike ride. The table of values below shows t
Manila can make a handcrafted drum in 4 weeks. Zane can also make a similar handcrafted drum in 6 weeks. If they both work together, how many weeks will it take
Arabs are joined together through (A) kinship through a male line (B) kinship through a female line (C) arranged marriages (D) agreements made by kings