import random secret = random.randint(1,300) high = 300 low=0 count=0 while 1: guess = int((low+high)/2) count+=1 if guess>secret: ...
確定! 回上一頁