Commit 443bc9e7 by BellCodeEditor

save project

parent c68c0ee4
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ while low <= high:
mid = (low+high) // 2
guess = num_list[mid]
if guess == less_num:
print('找到了,索引是',guess)
print('找到了,索引是',mid)
break
elif guess < less_num:
low = mid+1
......
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