Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 583 Bytes

File metadata and controls

22 lines (15 loc) · 583 Bytes

Extra-Terrestrials

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

Explanation:

If you flip howdy backwards you get ydwoh.