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()
      'A1b2C3d4'
      >>> generate_password()
      'X9y8Z7w6'
      """
      import random
      import string
  
      while True:
          password = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8))
          if any(c.islower() for c in password) and any(c.isupper() for c in password) and any(c.isdigit() for c in password):
              return password
  
output:     import random
      import string
  
      while True:
          password = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(8))
          if any(c.islower() for c in password) and any(c.isupper() for c in password) and any(c.isdigit() for c in password):
              return password