input: Write a function to generate a random password of length 8 characters, containing at least one lowercase letter, one uppercase letter, and one number.
  assert generate_password()==True
  assert generate_password()==True
  assert generate_password()==True
  assert generate_password()==True
  assert generate_password()==True
output: import random
  import string
  
  def generate_password():
      password = []
      password.append(random.choice(string.ascii_lowercase))
      password.append(random.choice(string.ascii_uppercase))
      password.append(random.choice(string.digits))
      password.extend(random.choices(string.ascii_letters + string.digits, k=5))
      random.shuffle(password)
      return ''.join(password)