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 the volume of the prism below?
What is faster? 300 pages per week or 80 pages per day?
Which choices are equivalent to the expression below? Check all that apply. 6√3 A. √18 * √6 B. √108 C. √3 * √6 D. √54 E. √3 * √36 F. 108
Which polynomial is a cubic trinomial? 2x^2 - 4x + 6 2x^3 - 2x^2 -4x 2x^3 + 6 2x^3 - 2x^2
Write the sum as a mixed number
When Shanna chews a stick of gum, she always offer a piece to Miriam. Whenever Miriam has chips in her lunch, she shares them with Shanna. In fact, the two girl
WILL GIVE BRAINIEST ANSWER (if correct) (b) What is 0.24 (4 is repeating) expressed as a fraction in simplest form? (c) What is 0.24 expressed as a fraction i
What does this sentence from the story foreshadow for the reader? When the rain started in again, the whole house filled up with quiet tension. A. the horses' f
Which european nation colonized india and austrlia in addition to having spheres of influence in china
what process in earth's interior causes subduction and seafloor spreading Also srry if it is not in the correct subject!