Python Bisect: Find the index position of the largest value smaller ...

Python Bisect: Find the index position of the largest value smaller ...