input: from typing import List
  
  def generate_random_password(characters: str, length: int) -> str:
      """ Generates a random password of given length from the provided set of characters.
      >>> generate_random_password("abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?", 8)
      'aB3$7xYz'
      >>> generate_random_password("abcdefghijklmnopqrstuvwxyz", 5)
      'fghi'
      """
      import random 
      return "".join(random.sample(characters, length))
output:     import random 
      return "".join(random.sample(characters, length))