input: 
  import hashlib
  
  def encrypt(message: str, key: str) -> str:
      """Encrypts the given message using the provided key by shifting each character
      in the message by the ASCII value of the first character of the key.
      Returns the encrypted message.
      
      >>> encrypt("Hello world!", "secret")
      "Hfnosl|vuqy}"
      >>> encrypt("Test", "key")
      "Xlsw"
      """
      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