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

Help pls it’s really easy but not for me :(
On what issues did the progressive reformers of the late nineteenth and early twentieth century focus their attention
The base number can also be a fraction. Convert the decimals to fractions in Examples 7 and 8 and evaluate. Leave your answer as a fraction. Remember how to mul
Your are driving away from Detroit . Your distance​ (in miles) away from Detroit x hours after​ 12:00 noon is given by f(t)= -4x^3+25x^2+85x+51 . In how many ho
Write the equation in standard form for the circle passing through (– 5,10) centered at the origin
GIVING 50 POINTS!!! Solve the triangle using the law of sines. Show all work and round answers to the nearest tenth.
PLEASE HELP ON QUESTION ASAP. if answer is correct i will rate you five stars a thanks and maybe even brainliest. Alex drove for 3 hours at average speed of 60m
Which of the following is not a factor of 15?
Answer all questions related to lactose intolerence down below need asap no gibberish Topic Lactose intolerance what is it, rates, why do some develop this , da
Why is "I will get better at chess" not an ideal goal? Group of answer choices A) It would take too long B) It isn't possible C) It isn't specific D) No one pla