Page 22 - PYTHON-11
P. 22

Program 16  WAP to display cumulative elements of a given list.
                      For eg. List is   [10,20,30,40]
                       output should be [10, 30, 60, 100]


               Code:






















               ********Output of the program********
   17   18   19   20   21   22   23   24   25   26   27