You are viewing a single comment's thread. Return to all comments →
def theLoveLetterMystery(s): out = 0 for i in range(len(s) // 2): out += abs(ord(s[i]) - ord(s[len(s) - i - 1])) return out
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 →