Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from itertools import accumulate
- print(*accumulate(range(1, int(input()) + 1)))
- exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement