input: Write a function to check if a number is in the range of 1 to 10 (inclusive). If the number is within this range, return True, otherwise return False.
  def check_number(num):
      if (num > 0 and num < 11):
          return True
      else:
          return False
  assert check_number(5)==True
  assert check_number(1)==True
  assert check_number(10)==True
  assert check_number(-1)==False
  assert check_number(11)==False
output: def check_number(num):
      if (num > 0 and num < 11):
          return True
      else:
          return False