input: def generate_prime_numbers(n: int) -> None:
      """ Prints all prime numbers between 1 and a given number n.
      >>> generate_prime_numbers(5)
      2
      3
      >>> generate_prime_numbers(10)
      2
      3
      5
      7
      """
output:     
      for num in range(2, n + 1):
          if all(num % i != 0 for i in range(2, int(num**0.5) + 1)):
              print(num)
  