n=int(input("Enter list size:")) a=[]
for i in range(n):
val=int(input("Enter no.:"))
a.append(val)
key=int(input("Enter Value to find:"))
def binary_search(a,n,key):
i=0
j=n-1
flag=0
while ikey:
j=mid-1
if a[mid]
Answers
Answered by
1
Answer:
what exactly do u want
Explanation:
i didn't get it
Similar questions