A Python function for string encryption using specific reversal and substitution operations.
Encryption is essential in digital communication for securing information. In this task, we'll implement a simple encryption process using a Python function. The function will perform the following steps on the input string `word`: 1. Reverse `word`; 2. Replace all vowels in the reversed string with specific digits according to these mappings: ```python a => 0 e => 1 o => 2 u => 3 ``` 3. Append "aka" at the end of the string. ### Parameters - `word` (str): The string to undergo encryption. ### Return Value - Returns the encrypted version of the string held in the `word` variable (str). ### Examples ```python solution("apple") # Output: "1lpp0aka" solution("banana") # Output: "0n0n0baka" solution("python") # Output: "n2htypaka" ```