Re: [Tutor] Python_About "Guess my number" program

2018-12-12 Thread Steven D'Aprano
Hi Dat, and welcome! On Wed, Dec 12, 2018 at 11:26:30AM +0600, Hoang Quoc Dat wrote: [...] > After a while, I went on and search on the internet and > find out 1 similar program but the coding logic is like: The computer keeps > guessing the middle number of the range and narrow down the range by

Re: [Tutor] Python_About "Guess my number" program

2018-12-12 Thread Alan Gauld via Tutor
On 12/12/2018 05:26, Hoang Quoc Dat wrote: > find out 1 similar program but the coding logic is like: The computer keeps > guessing the middle number of the range and narrow down the range by > focusing on only the upper/lower part of the range after receiving our > answer. > > I somehow have com

[Tutor] Python_About "Guess my number" program

2018-12-12 Thread Hoang Quoc Dat
Dear all, This is Dat, I am a newbie in learning Python. My recent attempt is to read and practice the book of Michael Dawson-Python Programming for the Absolute Beginner 3rd Edition. At the end of Chapter 3 there is a challenge of creating "Guess my number" program where the computer guess your n