<qiyuangong>1480_Running_Sum_of_1d_Array_1.py
def runningSum( nums: List[int]) -> List[int]:
    if nums is None or len(nums) == 0:
        return nums
    for i in range(1, len(nums)):
        nums[i] += nums[i-1]
    return nums
def sample_funcname ( var_0 : List [ int ] ) -> List [ int ] :
    if var_0 is None or len ( var_0 ) == 0 :
        return var_0
    for var_8 in range ( 1 , len ( var_0 ) ) :
        var_0 [ var_8 ] += var_0 [ var_8 - 1 ]
    return var_0
