input: from typing import List
  
  def encrypt(message: str, key: str) -> str:
      """ Encrypts a given message using a key by adding the ASCII value of the key's first character to each character in the message.
      >>> encrypt("Hello world!", "secret")
      'Tqxx{ yqu$}}'
      >>> encrypt("Python", "key")
      'T{cg|s'
      """
      encrypted_msg = ""
      for char in message:
          encrypted_msg += chr(ord(char) + ord(key[0]))
      return encrypted_msg
output:     encrypted_msg = ""
      for char in message:
          encrypted_msg += chr(ord(char) + ord(key[0]))
      return encrypted_msg