check two value in same if and condition in python code example Example: test multiple variables against a value python if 1 in (x, y, z):