Searching a sorted list? [closed] May 12, 2023 by Tarik bisect is part of the standard library – is that the sort of thing you’re looking for?