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

What is CAD an abbreviation for? How is CAD used by architects?
Was the Treaty of Versailles a good peace treaty for the future? Write a paragraph that answers this question. Begin with a clear topic sentence, such as “The
how is DNA replication semi-conservative
Based on the details in the story, what’s is it’s primary purpose?
What is a swing state?
Evaluate 3 + √(x + 19) - √(2x) when x = 6. Write the answer in simplified radical form.
brainliest for best answer Describe the problems African Americans faced in the North.
I need help!!! Brainliest for anyone who answers correctly on both!!!
If a bunch of grapes represents a molecule, what does each grape in the bunch represent? A cell A tissue An atom An organ
Hillary works for a company that offers 75% matching on all of her retirement contributions. For the last 35 years, Hillary has been depositing $200 into her 4