Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. from itertools import accumulate
  2. a = map(int, input().split())
  3. print(' '.join(list(map(str, (accumulate(a))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement