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

I will mark brainliest!
factor. x^2-5x-84 pls help
Find the diameter of a circle with an area of 240.25(3.14) square millimeters
Please help ! Will mark you brainliest ! X
Eating foods high in sodium can A. cause excessive urination B. result in significant fatigue C. help your body build muscle D. lead to high blood pressure
which inequality is equivalent to 2x+3>9 or 5x-2<-12
YOU GET OUT WHAT YOU PUT IN: "My mother told me that I am capable of doing anything. 'Be ambitious', she said, 'Jump at de sun.' "~Nora Zeale Hurston. There was
iff a/b is a rational number, what does b have to equal in order for a/b to also be an integer
The ___________ states that <AGI and <BGH are are congruent.​
What is the most specific name for quadrilateral ABCD? parallelogram rectangle rhombus square