Leetcode——374 Guess Number Higher or Lower(猜数字大小)_guessnumber(self,n:int)_OIqng的博客-CSDN博客

网站介绍:题目:We are playing the Guess Game. The game is as follows:I pick a number from 1 to n. You have to guess which number I picked.Every time you guess wrong, I will tell you whether the number I picked is higher or lower than your guess.You call a pre-defi_guessnumber(self,n:int)