<doocs>1880.Check if Word Equals Summation of Two Words_1.py
def f(s):
    res = 0
    for c in s:
        res = res * 10 + (ord(c) - ord('a'))
    return res
def sample_funcname ( var_0 ) :
    var_2 = 0
    for var_3 in var_0 :
        var_2 = var_2 * 10 + ( ord ( var_3 ) - ord ( 'a' ) )
    return var_2
