sum up all values in list up to point code example Example: sum up list python b = [1,2,3] a = sum(b) # 6