ord(s[i]) - ord('0') == int(s[i])
('0' <= s[i] and s[i] <= '9') == ('0' <= s[i] <= '9') == s[i].isdigit()
('a' <= s[i] and s[i] <= 'z') == ('a' <= s[i] <= 'z') == s[i].isalpha()
(i, cur) = process(s, i+1) => i, cur = process(s, i + 1)
s[i:i+1] == s[i]
return (i, ans) => return i, ans
assert (...) => assert ...
// ... => # ...
# ...
if self.values[2*i+1] < self.values[i]:
j = 2*i + 1
# ...