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.
      >>> len(generate_password())
      8
      >>> any(c.islower() for c in generate_password())
      True
      >>> any(c.isupper() for c in generate_password())
      True
      >>> any(c.isdigit() for c in generate_password())
      True
      """
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