Commit c83430df by BellCodeEditor

save project

parent d2555cde
Showing with 1 additions and 1 deletions
......@@ -10,7 +10,7 @@ def binary_search(alist,num):
low = 0
high = len(alist)-1
while low <= high:
mid = (low+high) \\ 2
mid = (low+high) // 2
guess=alist[mid]
if guess == num:
return mid
......
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