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

A scientist develops a new experiment to test atomic theory. His results do not agree with the theory. What will most likely happen next
If your is activated you will feel at ease
Can someone please help me? You will get 20 points!!! I will give Brainliest Answer, Five Stars, and a Thanks!! Explain how the Inca and Pizarro interacted wi
how would you simplify 9v-12v
The contemporary social movement with the slogan "fight for 15" seeks a $15 minimum wage and unionization. this attempt to mobilize and make gains for workers c
Need some help thank you
This is an example of plagiarism: Katie reads on a website that “Almost one in five US public schools required students to wear uniforms during the 2011-2012 s
a) The population consists of all 250 students in your large statistics class. You plan to obtain a simple random sample of 30 students by using the sampling fr
In assessing the internal validity of an intervention, we ________.
On september 1, 2018, fortune magazine sold 600 one-year subscriptions for $81 each. the total amount received was credited to deferred subscriptions revenue. w