input: 
  def generate_random_password() -> str:
      """
      Generate a random password consisting of 8 characters, including letters (both
      lowercase and uppercase), numbers, and special characters. The password is constructed
      by randomly sampling 8 characters from a predefined set of possible characters.
  
      >>> generate_random_password()
      'aB3$7fZ9'
      >>> generate_random_password()
      '1Qv&c2x!'
      """
      all_characters = "abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?"
      return "".join(random.sample(all_characters, 8))
output:     import random
      all_characters = "abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?"
      return "".join(random.sample(all_characters, 8))