python if val == 1 or 2 code example Example: test multiple variables against a value python if 1 in (x, y, z):