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

When Rita Thomas' clothing company began to market its line of inexpensive cotton shirts in Africa, it assumed that it would be able to use its television and p
G divided by 5/6 equals to 2
the people who made the first clock how did they know the time if there was no time
A large corporation starts at time t = 0 to invest part of its receipts continuously at a rate of P dollars per year in a fund for future corporate expansion. A
How is the diffusion different in a small flat cell and a large round cell
If the mid-Atlantic Ocean is spreading at 2.6 cm per year, how many years has it taken for it to reach its present width of about 5000 km?
(4.4*10^6)(1.6*10^-9) results in both scientific notation andstandard form.
According to _____, human beings are driven to self-actualize, or to fulfill their natural potential for goodness and growth.
Simplify the expression. (-4)(-13)/-26
1)A plastic rod is rubbed against a wool shirt, thereby acquiring a charge of -0.7 µC. How many electrons are transferred from the wool shirt to the plastic rod