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(0)
    False
    >>> check_number(10)
    True
    """
    if (num > 0 and num < 11):
      return True
    else:
      return False
output:     return 1 <= num <= 10