Commit faff726c by BellCodeEditor

save project

parent 459c040c
Showing with 7 additions and 2 deletions
......@@ -8,4 +8,9 @@ while v>f:
sa= (v+f)//2
guess_num==num_list[sa]
if guess_num==d:
print()
\ No newline at end of file
print('到'sa)
break
elif guess_num<d:
f=sa+1
elif guess_num:
v=sa-1
\ No newline at end of file
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