input: def generate_password() -> str:
      """Generate a random password of length 8 characters, containing at least one lowercase letter, one uppercase letter, and one number.
      >>> generate_password() in [''.join(p) for p in permutations(string.ascii_letters + string.digits, 8)]
      True
      """
output:     import random
      import string
      
      password = []
      password.append(random.choice(string.ascii_lowercase))
      password.append(random.choice(string.ascii_uppercase))
      password.append(random.choice(string.digits))
      
      all_chars = string.ascii_letters + string.digits
      password.extend(random.choices(all_chars, k=5))
      
      random.shuffle(password)
      return ''.join(password)