im using this code to make a rock paper scissors game,but im stuck on this part, i want the program to tell the player that his input is false if he inputs anything other than 'R','P'or'S', which is working but whenever i do input 'R','P'or'S' it still prints the error message "Error! Choose a valid answer(R/P/S) "
choices = ['R','P','S']
computerchoice = random.choice(choices)
print(computerchoice)
print("Let's play rock paper scissors !")
playerchoice = input("Rock paper or scissors (R/P/S) -")
if playerchoice != ("R","P","S"):
print("Error! Choose a valid answer(R/P/S) ")
else:
pass