input: 
  def encrypt(message: str, key: str) -> str:
      """Encrypts a message using a key by shifting each character in the message by the ASCII value of the first character of the key.
      >>> encrypt("Hello world!", "secret")
      'Tqxx{ y|ovxì'
      """
      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