Is there any pre-made optimized tool/library in Python to cut/slice lists for values \"less than\" something?
Here\'s the issue: Let\'s say I have a list like:
bisect.bisect_left is what you are looking for, I guess.