Commit 3a9024da by BellCodeEditor

auto save

parent bb8205fa
Showing with 2 additions and 1 deletions
......@@ -3,7 +3,8 @@ num_list = [1, 3, 5, 8, 11, 15, 17, 18, 20, 21]
bingo_num=8
low=0
high=len(num_list)-1
while low<=high:
def
while low<=high:
mid=(low+high)//2
guess_num=num_list[mid]
if guess_num == bingo_num:
......
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