+ 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])

28th Mar 2022, 11:17 PM
Earl
Earl - avatar
5 Respostas
+ 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])
29th Mar 2022, 1:43 AM
Python Learner
Python Learner - avatar
+ 3
english = input() print(english[::-1])
29th Mar 2022, 6:40 AM
CodeStory
CodeStory - avatar
+ 2
Thank you all!!
29th Mar 2022, 12:15 PM
Earl
Earl - avatar
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.
28th Mar 2022, 11:17 PM
Earl
Earl - avatar