Get reliable answers to your questions at Westonci.ca, where our knowledgeable community is always ready to help. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

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.


Sagot :

Answer:

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

Explanation: