input: from typing import List
  
  def generate_random_number() -> int:
      """ Generates a random 6-digit number and prints it.
      >>> generate_random_number()
      123456
      >>> generate_random_number()
      987654
      """
      import random
      number = random.randint(100000, 999999)
      print(number)
      return number
output:     import random
      number = random.randint(100000, 999999)
      print(number)
      return number