def encrypt_caesar(message: str, key: int) -> str:
encrypted = ""
for letter in message:
encrypted_letter = ord(letter) + key
if encrypted_letter > ord("z"):
encrypted_letter = ord("a") + encrypted_letter - ord("z")
encrypted += chr(encrypted_letter)
return encrypted
message = "computerscience"
key = 3
encrypted = encrypt_caesar(message, key)
print(encrypted)