From Dev.to
An Accumulate Initial Value Adds an Output Before the First Input
A running total can include an initial state as its first output. With itertools.accumulate, a non-None initial value is emitted separately before the source values are combined. A consumer that expec...
