Advertisement
andewK

Untitled

Jul 12th, 2023
1,032
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. from itertools import accumulate
  2. print(*accumulate(range(1, int(input()) + 1)))
  3. exit()
  4.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement