x = [3, 4, 5, 6] total = 0 for i in x[0:]: total = total + i print(total)
In the case where you need to skip the first elements but use the last element in range, use:
for i in x[1:]: