Welcome to Westonci.ca, the Q&A platform where your questions are met with detailed answers from experienced experts. Discover detailed solutions to your questions from a wide network of experts on our comprehensive Q&A platform. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.

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.