input: Write a function to check if a number is between 1 and 10.
  assert check_number(5) == True
  assert check_number(0) == False
  assert check_number(11) == False
  assert check_number(10) == True
  assert check_number(1) == True
output: def check_number(num):
      return 1 <= num <= 10