I like that it tries to adapt the number of guesses to the range. Also my terminal had some issues if I tried to backspace when entering my guess, but at least it didn't use up my try.
If I work on it again, I'll have to import the readline library, which would allow it to use backspace and arrow keys.