3 ms·
in Python 3 both range and filter are lazy but the slices here would spoil it there is https://docs.python.org/3/library/itertools.html#itertools.islice https
by anentropic 6y ago
in Python 3 both range and filter are lazy
but the slices here would spoil it
there is https://docs.python.org/3/library/itertools.html#itertools.islice https://docs.python.org/3/library/itertools.html#itertools.i... islice however...