input: Write a function to generate a random 6-digit number in Python. The function should return the generated number as an integer.
  def generate_random_number():
      return random.randint(100000, 999999)
  
  assert generate_random_number() >= 100000
  assert generate_random_number() <= 999999
output: def generate_random_number():
      return random.randint(100000, 999999)