here we go,
list : 2,2,2,2,2
the output should be like this logic:
new list :
first item stays same: 2
second item: first item + second item = 2+2 = 4
third item : first + second + third = 2+2+2 =6 and so on.
final output: 2,4,6,8,10
any idea guys?