input: 
  def check_number(num: int) -> bool:
      """Check if a given number is within the range of 1 to 10 (inclusive).
      
      >>> check_number(5)
      True
      >>> check_number(10)
      True
      >>> check_number(0)
      False
      >>> check_number(11)
      False
      """
      return num >= 1 and num <= 10
  
output:     return num >= 1 and num <= 10