ID EN
Bisect

bisect_right

Python 3.11

Similar to bisect_left(), but returns an insertion point which comes after (to the right of) any existing entries of x in a.

Syntax

PYTHON
bisect.bisect_right(a, x, lo=0, hi=len(a), *, key=None)

See Also

bisect_left() key function