input: Write a python function to generate a unique 6 digit number.
  assert len(str(generate_number())) == 6
  assert isinstance(generate_number(), int)
output: def generate_number():
      import random
      return random.randint(100000, 999999)