input: from typing import List
  
  
  def generate_random_number() -> List[int]:
      """ Generates a random 6-digit number in Python and returns it as a list of integers.
      >>> generate_random_number()
      [1, 2, 3, 4, 5, 6]
      >>> generate_random_number()
      [9, 8, 7, 6, 5, 4]
      """
      import random
      number = random.randint(100000, 999999)
      return [int(digit) for digit in str(number)]
output:     import random
      number = random.randint(100000, 999999)
      return [int(digit) for digit in str(number)]