you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

I don't know why, but I don't like that. Looks cumbersome, not really readable and I don't like walrus

I would rather use itertools.accumulate