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