3.5 Lesson practice quiz: Edhesive Question 5


color = input ("what color? ")



if (color=="green"):


print("correct")


else:


print("Nope")


elif(color=="red"):


print ("correct")



What happens when it runs?



Answer is


There is an error, the else should be after the elif.


Answer :

Answer:

There is an error, the else should be after the elif

Explanation: