You are viewing a single comment's thread. Return to all comments →
LOL I did almost the same.
for i in range(int(input())): print((lambda w: sum(abs(ord(w[i]) - ord(w[len(w)-i-1])) for i in range(len(w)//2)))(input()))
Seems like cookies are disabled on this browser, please enable them to open this website
The Love-Letter Mystery
You are viewing a single comment's thread. Return to all comments →
LOL I did almost the same.