input: from typing import List
  
  
  def generate_password(pwd_length: int, special_chars: List[str]) -> str:
      """ Generate a random password of a given length, which consists of alphanumeric
      characters and at least one special character from a provided list.
      >>> generate_password(8, ['!', '@', '#', '$'])
      'aB3@dE7#'
      >>> generate_password(10, ['!', '*', '&'])
      '1C3&gH5*jK'
      """
output:     import random
      import string
  
      alphanumeric_chars = string.ascii_letters + string.digits
      password = [random.choice(alphanumeric_chars) for _ in range(pwd_length - 1)]
      password.append(random.choice(special_chars))
      random.shuffle(password)
      return ''.join(password)