Python is, for some reason printing my if statement regardless of input, even when the statement is false.
print("Treasure Quest")
print("------------")
name = input("What is your name traveler?")
print("Your game name for this game is: " + name+"")
goldCoin = ("Take this gold coin, it's rare!")
ans1 = input("Will you take the coin? Yes or No?")
if ans1 == 'Yes' or 'Y':
print("You have gained 1 point")
elif ans1 == 'No' or 'N':
print(" You have chosen to leave the coin.")
print("You did not gain a point.")```