This is about If Else Statement, How do I fix this?
Hello, I created a code but I don't know where's the error. When I input "no" it still proceeds to the question under Yes here's the code: y_n = (input("I want you to answer two simple math equations \nand you only have 1 attempt. \nAre you ready? ")) if y_n == "yes" or "Yes" or "YES": print ("Let's continue...") first = (input("1. 18Ă·3-7+2*5 = ")) if int(first) == int(18 / 3 - 7 + 2 * 5) : print("Good. Next...") else: print("Wrong. Go back to preschool.") second = (input("2. 6*4Ă·12+72Ă·8-9 = ")) if int(second) == int(6 * 4 / 12 + 72 / 8 - 9): print("Perfect. You can be the President of the Ph.") else: print("Wrong.") elif y_n == "no" or "No" or "NO": print("Ok, go back to kinder.") THANK YOU SO MUCH