input: def is_prime(num: int) -> bool:
      """ Check if a given number is a prime number.
      >>> is_prime(7)
      True
      >>> is_prime(10)
      False
      >>> is_prime(1)
      False
      """
      if num > 1:
          for i in range(2, num):
              if (num % i) == 0:
                  return False
          return True
      else:
          return False
output:     if num > 1:
          for i in range(2, int(num**0.5) + 1):
              if (num % i) == 0:
                  return False
          return True
      else:
          return False