Commit b317e179 by BellCodeEditor

save project

parent dde75420
Showing with 4 additions and 4 deletions
......@@ -14,10 +14,10 @@ def binary_search(alist,num):
guss=alist[mid]
if guss==num:
return mid
elif guss<num:
low=mid-1
else:
high=mid+1
elif guss<num:
low=mid-1
else:
high=mid+1
return None
result = bbi(alist,num)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment