Commit 75b5706f by BellCodeEditor

auto save

parent cef6e864
Showing with 0 additions and 12 deletions
...@@ -4,15 +4,3 @@ num=20 ...@@ -4,15 +4,3 @@ num=20
x=0 x=0
d=9 d=9
while d>x:
z=(d+x)//2
guess=num_list[z]
if num>guess:
x=z+1
elif num<guess:
d=z-1
elif num==guess:
print('找到了')
break
else:
print('找不到')
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