Commit 8531b797 by BellCodeEditor

save project

parent dccdc8ae
Showing with 4 additions and 3 deletions
...@@ -11,5 +11,6 @@ while low <= hight: ...@@ -11,5 +11,6 @@ while low <= hight:
break break
elif guess_num < bingo_num: elif guess_num < bingo_num:
low = mid + 1 low = mid + 1
else guess_num < bingo_num: elif guess_num > bingo_num:
hight = mid - 1 hight = mid - 1
\ No newline at end of file print(-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