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 are key teachings or characteristics of both Hinduism and Buddhism? Choose all answers that are correct. A. Souls are reborn many times in reincarnation.
A bakery sold 111 cupcakes in one day. The head baker predicted he would sell 91 cupcakes that day. What was the percent error of the baker's prediction? 18.02%
Help! Donovan runs about 2.5 miles each day. In 3 weeks, about how many miles does he run?
Name TWO duties of the crane operator.
¿Que es la humanización?
What accent marks are missing from the paragraph in the highlighted box?
Who was the first coach to lose the Super Bowl indoors?
need help with math's home work 1 - increase 235 by 27% 2 - increase 24g by 9% 3 - decrease 1120 of 13.5% 4 - decrease 0.057 by 55% sally investment of £450 has
If LM=18 cm and MN=5 cm, then what are the possible lengths for LN so that LM, MN, and NL can form a triangle?
how does deforestation affect the patterns of river flow