def titleToNumber(self, s):
        result = 0
        for i in xrange(len(s)):
            result *= 26
            result += ord('A') + 1 - ord(s[i])
        return result
dataset/ETHPy150Open kamyu104/LeetCode/Python/excel-sheet-column-number.py/Solution.titleToNumber/swapped operands of `-`