Commit a2a98411 by BellCodeEditor

save project

parent c368b800
Showing with 1 additions and 1 deletions
...@@ -7,7 +7,7 @@ while low<=high: ...@@ -7,7 +7,7 @@ while low<=high:
mid=(low+high)//2 mid=(low+high)//2
guess=num_list[mid] guess=num_list[mid]
if num == guess: if num == guess:
print mid print (mid)
break break
elif guess<num: elif guess<num:
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