<doocs>0171.Excel Sheet Column Number_1.py
def titleToNumber( columnTitle: str) -> int:
    res = 0
    for c in columnTitle:
        res = res * 26 + (ord(c) - ord('A') + 1)
    return res
def sample_funcname ( var_0 : str ) -> int :
    var_4 = 0
    for var_5 in var_0 :
        var_4 = var_4 * 26 + ( ord ( var_5 ) - ord ( 'A' ) + 1 )
    return var_4
