TODO: write this page. Start from https://docs.python.org/3/library/itertools.html#itertools.accumulate.