Commit 30e107b8 by BellCodeEditor

save project

parent 66ce735c
Showing with 1 additions and 1 deletions
...@@ -2,7 +2,7 @@ import random ...@@ -2,7 +2,7 @@ import random
alist = [] alist = []
for i in random(1,101): for i in random(1,101):
alist.append(i) alist.append(i)
def binary_search(alist,num) def binary_search(alist,num):
low = 0 low = 0
hight = len(num_list)-1 hight = len(num_list)-1
while low <= high: while low <= high:
......
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