I have a variable, and want to check if it matches at least one of the other two variables.
Clearly I can do:
if a == b or a == c:
But I want to know if there is any shorter way, something like:
if a == (b or c):
How to test if a variable is the same as - at least - one of the others?