#encrypt a text #encryption: Encryption is the process of encoding the data. i.e converting plain text into ciphertext #Decryption is a process of decoding the encoded data. Converting the ciphertext into plain text ''''plain text ---->>>> key ----->>> unknown text''' #encryption ''''unknown text ---->>>> key ----->>> plain text''' #decryption '''Step 1: Reverse the input: “elppa” apple Step 2: Replace all vowels using the following chart: # and values dict = {"a": "0", "e": "1", "i": "2", "o": "2", "u": "3"} Step 3: Add “aca” to the end of the word:''' # Create an input field text = "banana" # Create a dictionary to store keys # and values dict = {"a": "0", "e": "1", "i": "2", "o": "2", "u": "3"} # Reverse the string num = text[::-1] print(num) # Replace vowels using loops for i in dict: num = num.replace(i, dict[i]) print(num) # f- strings which improves readability print(f"{num}aca")