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

While listening to her friend bill, judy occasionally says, "tell me more" or "that's interesting, go on." judy is:??
• there are approximately 3,000,000,000 base pairs in the mammalian genome (genes constitute only a small portion of this total) • there are approximately 10,00
Is it ok to give a website your zip code?
In a reflex arc, the sensory neurons are ________ neurons, while the motor neurons are ________ neurons. afferent; efferent efferent; afferent gray; whit
The centers for disease control reports that American Indian/Alaska Natives have a higher prevalence of current smoking than most other racial/ethnic groups in
A group of students decide to repeat the hershey and chase experiment with modifications. they decide to radioactively label the nitrogen in the dna, instead of
Find the equation of the line passing through points (15,-25) and (12,-11). Write your answer in the form y=mc+b
What is 6000000000 in standard form
Question 1 What does the background extinction rate tell us? A) How many organisms would go extinct if humans were not here B) How many organisms that are "in t
The phase of the presidential election process in which the political parties select candidates to run against other party candidates is called the ____________