input: def generate_password(length: int = 8) -> str:
      """Generate a random password of a specified length, containing at least one lowercase letter, 
      one uppercase letter, and one number.
      >>> generate_password()
      'A1b2C3d4'
      >>> generate_password(12)
      'X9y8Z7w6V5u4'
      """
      from random import choice
      import string
  
      chars = string.ascii_uppercase + string.ascii_lowercase + string.digits
      password = ''.join(choice(chars) for i in range(length))
      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
      else: 
          return generate_password(length)
output:     from random import choice
      import string
  
      chars = string.ascii_uppercase + string.ascii_lowercase + string.digits
      password = ''.join(choice(chars) for i in range(length))
      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
      else: 
          return generate_password(length)