<doocs>1732.Find the Highest Altitude_1.py
def largestAltitude( gain: List[int]) -> int:
    res = t = 0
    for h in gain:
        t += h
        res = max(res, t)
    return res
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_5 = var_3 = 0
    for var_6 in var_0 :
        var_3 += var_6
        var_5 = max ( var_5 , var_3 )
    return var_5
