+ 3
Check the bisect library, there are some nice examples in the documentation that cover your case. https://docs.python.org/3/library/bisect.html
16th Nov 2022, 4:35 AM
Tibor Santa
Tibor Santa - avatar