Commit 91fc1829 by BellCodeEditor

save project

parent 1a6b7ce3
Showing with 1 additions and 0 deletions
...@@ -7,6 +7,7 @@ while True: ...@@ -7,6 +7,7 @@ while True:
guess=num_list[mid] guess=num_list[mid]
if guess==17: if guess==17:
print("找到了!") print("找到了!")
print(str(mid))
break break
elif guess<17: elif guess<17:
low=mid+1 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