Extra-Terrestrials on solo learn - In this post you will learn and solving the problem of solo learn and creating logic with reading and make the perfect program.
What is problem ?
This is the problem
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
What is Explanation and Solution ?
Let start Explanation
First read Extra-Terrestrials problem what is stories and task. let example we are meet aliens of group
Their language just like english but they speak Backward .
Let start Solution
If you read a task then it's easy to solve the problem .let start with make first we want input as string then reverse the string its very simple .
source code
#python a = input() print (a[::-1])
How to Solve Extra-Terrestrials in video
If you want ask any dout of this post ,comment this post๐๐.I try my level Best in comment
Post a Comment