input: def generate_password() -> str:
      """ Generates a random password of length 8 characters, containing at least one 
      lowercase letter, one uppercase letter, and one number.
      >>> generate_password()
      'aB1cD2eF'
      >>> generate_password()
      '2XzY7QwP'
      """
output:     import random
      import string
  
      lower = string.ascii_lowercase
      upper = string.ascii_uppercase
      digits = string.digits
  
      password = [
          random.choice(lower),
          random.choice(upper),
          random.choice(digits)
      ]
  
      all_chars = lower + upper + digits
      password += random.choices(all_chars, k=5)
  
      random.shuffle(password)
      return ''.join(password)