input: Write a python function to generate a random password that includes at least one uppercase letter, one lowercase letter, and one digit.
  assert len(generate_password()) == 8
  assert any(c.islower() for c in generate_password())
  assert any(c.isupper() for c in generate_password())
  assert any(c.isdigit() for c in generate_password())
output: import random
  import string
  
  def generate_password():
      password = [
          random.choice(string.ascii_uppercase),
          random.choice(string.ascii_lowercase),
          random.choice(string.digits)
      ]
      password += random.choices(string.ascii_letters + string.digits, k=5)
      random.shuffle(password)
      return ''.join(password)