input: def generate_password() -> str:
      """
      Generate a random password containing 8 characters including numbers, letters, and special characters.
      >>> generate_password()
      'aB3$5&z@'
      >>> generate_password()
      '1X!9pQ2*'
      >>> generate_password()
      'R7@k3b#y'
      """
      password_characters = string.ascii_letters + string.digits + string.punctuation
      password = ''.join(random.choice(password_characters) for i in range(8))
      return password
output:     import string
      import random