input: from typing import List
  
  def generate_random_password(characters: str) -> str:
      """ Generates a random password of 8 characters by choosing randomly from a given set of characters.
      >>> generate_random_password("abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?")
      'A2b#4DzE'
      >>> generate_random_password("abc123!@#")
      'a3!@bc21'
      """
output:     import random
      password = ''.join(random.choice(characters) for _ in range(8))
      return password