+ 2
Extra-terrestrials
Hello, how can I erase list mart and , in the below code? I am starter in python and maybe I need study from beginning of it.đ„Č english = list(input()) print(english[::-1])
5 Answers
+ 4
Hi Earl!
You can use join() method to join list of strings with another string as a separator.
Here's how you do.
english = list(input())
print("".join(english)[::-1])
+ 3
english = input()
print(english[::-1])
+ 2
Thank you all!!
0
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.