Commit 5de40883 by BellCodeEditor

save project

parent b1bc0c5c
Showing with 2 additions and 1 deletions
...@@ -17,7 +17,7 @@ def binary_search(alist,num): ...@@ -17,7 +17,7 @@ def binary_search(alist,num):
elif guess < num: elif guess < num:
low = mid + 1 low = mid + 1
else: else:
high = hid - 1 high = mid - 1
return None return None
result = binary_search(alist,num) result = binary_search(alist,num)
print(result) print(result)
\ No newline at end of file
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