The task is to create a Python program that can encrypt and decrypt text using the Caesar Cipher algorithm. Allow users to input a message and a shift value to perform encryption and decryption.
This program follow the syntax :
Encrypts or decrypts the given text using the Caesar Cipher.
Args:
text (str): The input text to be processed.
shift (int): The shift value (positive for encryption, negative for decryption).
mode (str): Either 'encrypt' or 'decrypt'.
Returns:
str: The processed text.