summaryrefslogtreecommitdiff
path: root/progs/a135.py
blob: ee2fb40c67aa95816591cf5b3373b7750304e2af (plain)
1
2
3
4
import bisect
def left_insertion(a, x):
    i = bisect.bisect_left(a, x)
    return i