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

How can plastic kill marine organisms?
How did Paul help shape the beliefs of early Christianity? Paul organized the new Christian Bible. Paul sent letters to new churches to advise them. Paul became
What can she do to lower her chance of having heart disease
at the dade county fair, the williams family bought 6 burgers and 4 gatorades for $14.10. the jackson family bought 3 burgers and 4 gatorades for $9.15.find the
Can someone please help with these 4 questions?
1. Which of the following statements best describes a central idea of the text? O A Due to his bravery and intelligence, Mandelbaum was able to rescue his famil
THE TWO SIDES 1. what was the battle plan that the south made , and why? 2. how did the anaconda plan harm the south? will mark Brainliest if right this is the
What advantage does an encyclopedia have over a periodical as a source for research? An encyclopedia is more likely to be updated frequently. An encyclopedia is
Ms. Blevins wants to survey a random sample of students at her middle school about the amount of homework assigned each night. Which surveying method is the bes
what if a boy has 3 dogs and the other person has 7. How much do they have all together?​