PY
py
1
2
3
4
5
6
7
8
9
10
11
12
import string
word = input().lower()
text= list(string.ascii_lowercase)
tes=text[::-1]
k=dict(zip(tes,text))
k[" "]=" "
words = []
for i in word:
if i in k:
words.append(k[i])
s="".join(words)
print(s)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run