input: def generate_password() -> str:
      """ Generate a random 8-character password containing at least one lowercase letter,
      one uppercase letter, and one number. If the generated password does not meet these
      criteria, the function will regenerate the password.
      Examples:
      >>> generate_password() 
      'A1b2C3d4'
      >>> generate_password()
      'Q2w3E4r5'
      """
output:     import random
      import string
  
      while True:
          password = ''.join(random.choices(string.ascii_letters + string.digits, k=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