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
1 Réponse
+ 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.