def search(data,value): low=0 high=len(data)-1 while low<=high: mid=int((low+high)/2) midval=data[mid] if midval<value: