# numpy.searchsorted() in Python # Python program explaining# searchsorted() function   import numpy as geek  # input arrayin_arr = [2, 3, 4, 5, 6]print ("Input array : ", in_arr)  # the number which we want to insertnum = 4print("The number which we want to insert : ", num)     out_ind = geek.searchsorted(in_arr, num) print ("Output indices to maintain sorted array : ", out_ind)