Help me to understand task (Secret Message) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Help me to understand task (Secret Message)

You are trying to send a secret message, and you've decided to encode it by replacing every letter in your message with its corresponding letter in a backwards version of the alphabet. What do your messages look like? Task: 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 Can anyone describe what does the task mean with corresponding?

10th Nov 2020, 7:13 AM
🇧🇩 𝚂𝚊𝚋𝚋𝚒𝚛 𝙷𝚘𝚜𝚜𝚊𝚒𝚗 🇧🇩
🇧🇩 𝚂𝚊𝚋𝚋𝚒𝚛 𝙷𝚘𝚜𝚜𝚊𝚒𝚗 🇧🇩 - avatar
3 Answers
+ 5
The task is to replace every letter of the given string to a letter which will on same position if we read alphabets in reverse order. Means :- A will become Z B will become Y C will become X . . . And so on.
10th Nov 2020, 7:25 AM
Arsenic
Arsenic - avatar
+ 5
Here I will you give some hints first you should make your input small then see what happening in input - output h - s e - v l - o l - o Then you see here some logic like a-z ,b-y,c-z ...z-a.
10th Nov 2020, 7:26 AM
Sâñtôsh
Sâñtôsh - avatar
+ 4
☺️ Thank you very much everyone for help me to understand
10th Nov 2020, 7:28 AM
🇧🇩 𝚂𝚊𝚋𝚋𝚒𝚛 𝙷𝚘𝚜𝚜𝚊𝚒𝚗 🇧🇩
🇧🇩 𝚂𝚊𝚋𝚋𝚒𝚛 𝙷𝚘𝚜𝚜𝚊𝚒𝚗 🇧🇩 - avatar