python if variable equals multiple values code example Example: test multiple variables against a value python if 1 in (x, y, z):