I can't figure out why my code won't process the user input properly.
old = input("Type Yes or No.")
if old.upper() == "YES" or "Y":
print("Success.")
When I type anything into the terminal, it still remains True for the old variable.
Ex. I type "sdafsdaf" into the terminal, and it still prints "Success."
Any solutions? Thank you