<doocs>0198.House Robber_1.py
def rob( nums: List[int]) -> int:
    a, b = 0, nums[0]
    for num in nums[1:]:
        a, b = b, max(num + a, b)
    return b
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 , var_5 = 0 , var_0 [ 0 ]
    for var_7 in var_0 [ 1 : ] :
        var_4 , var_5 = var_5 , max ( var_7 + var_4 , var_5 )
    return var_5
