input: def generate_prime_numbers(n: int) -> None:
      """ Generate a sequence of prime numbers up to the given number n.
      >>> generate_prime_numbers(7)
      2
      3
      5
      7
      >>> generate_prime_numbers(11)
      2
      3
      5
      7
      11
      """
output:     primes = []
      for num in range(2, n + 1):
          is_prime = True
          for prime in primes:
              if num % prime == 0:
                  is_prime = False
                  break
          if is_prime:
              primes.append(num)
              print(num)