Answer:
Explanation:
The solution code is written in Python 3.
Let's define a variable custom_encoded with an empty string (Line 1).
Create another variable custom_message and set a sample string to it (Line 2).
Create one more variable custom_encoding to hold the mapping values between vowel and their respective encoded character (Line 3-9).
Create a for loop to loop through all the character in custom_message (Line 11) and in the loop check if the current character is found in custom_encoding dictionary, if so, use the current character to loop up the dictionary for the encoded value and add the encoded string to custom_encoded (Line 12-13). Otherwise, just add the current character to custom_encoded (Line 14-15).
At the end, print the custom_encoded to terminal and you shall get th3s 3s 1 p2n