Library to play with filtering numeric sequences by sums of their pairs, triplets, etc. With a bonus CLI demo
A library to play with filtering numeric sequences by sums of their pairs, triplets, etc. Comes with a bonus CLI to demo the functionality. Requires (and CI tests on) python 3.8 to 3.10.If you need to use python 3.7 then try replacingmath.prod(some_iterable) with functools.reduce(lambda x, y: x * y, some_iterable) Approach We’re thinking of this mostly as a library with the CLI as only for demo purposes.Ways you can see this in the code: logging should really handled by the […]
Read more