0
The easy way?
A=input() a=[] n=0 s='' for i in A: a.append(i) n+=1 for j in range(n): s+=a[n-(j+1)] print(s) Have anyone the easiest way of the code?
3 Réponses
+ 5
You mean this?
print(input()[::-1])
+ 1
Thank you so much!
0
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.