A student has written a Python program to implement a Caesar cipher.
When the algorithm encrypts the plaintext ZETA with a shift of +3, the output is ]HWD.
ZETA
+3
]HWD
This output is incorrect.
Explain the error.