input: def generate_number(seed: int = None) -> int:
      """ Generate a unique 6 digit number.
      If a seed is provided, it uses the seed for reproducibility.
      >>> generate_number()
      12345
      >>> generate_number(seed=42)
      67890
      """
      if seed is not None:
          random.seed(seed)
      return random.randint(10000, 99999)
output:     import random
      if seed is not None:
          random.seed(seed)
      return random.randint(100000, 999999)