初学python记录一下在原作者的基础上新增范围代码成就感满满定义两个全局变量global ncenter1范围global ncenter2上一次猜的再将上一次猜的和范围进行赋值并缩小范围if inta0aint inta1print大一点范围d d inta0inta1ncenter1inta1ncenter2number else print大一点范围d d inta1inta2ncenter1inta2ncenter2number