input: Write a python function to print whether a given number is 0, 1, or not 0 or 1 using a ternary conditional operator.
  assert check_number(0) == "x is 0"
  assert check_number(1) == "x is 1"
  assert check_number(2) == "x is not 0 or 1"
output: def check_number(x):
      return "x is 0" if x == 0 else "x is 1" if x == 1 else "x is not 0 or 1"