check if a variable is equal to any of several values python code example Example: test multiple variables against a value python if 1 in (x, y, z):