program that replaces each letter in a message with its corresponding letter in a backwards version of the English alphabet | Sololearn: Learn to code for FREE!

0

program that replaces each letter in a message with its corresponding letter in a backwards version of the English alphabet

Create a program that replaces each letter in a message with its corresponding letter in a backwards version of the English alphabet. Input Format: A string of your message in its normal form. Output Format: A string of your message once you have encoded it (all lower case). Sample Input: Hello World Sample Output: svool dliow How to solve ? Help me

5/4/2020 3:42:50 PM

Jimmy

1 Answer

New Answer

+2

Jimmy first you have to try it by your own & link your stuff here We'll not provide answers directly But we'll provide a hint for it You can make a dictionary of 26 letters having normal alphabets as keys and backward alphabets as their values then you can use a for loop to iterate all the characters used in the input & Then put a condition if the keys of dictionary matches with the alphabets of input print its value Hope it helped Thanks