0

Any help , specially the input

You meet a group of aliens, and their language is just like English except that they say every word backwards. How will you learn to communicate with them? Task: Take a word in English that you would like to say, and turn it into language that these aliens will understand. Input Format: A string of a word in English. Output Format: A string of the reversed word that represents the original word translated into alien language. Sample Input: howdy Sample Output: ydwoh

22nd Jul 2023, 11:20 PM
israel bonney
israel bonney - avatar
1 ответ
+ 5
The Question is about to reverse a string, for solving you can use recursion or bulid in functions ever in language like python and Js its possible to solve it with string slicing.
22nd Jul 2023, 11:32 PM
Yasin Rahnaward
Yasin Rahnaward - avatar