You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a list of n integers, print a new list such that every element in the new list represents the cumulative sum of all the elements until that position.
Input Format:
Single line of input contains a list of space separated integers