If you are talking about the first time you give a number, it's because you have an extra line. Get rid of the first. g = input("Guess the number: ") and test Sent from my iPhone > On Apr 13, 2015, at 1:34 PM, Michael Havens <bmike1 at gmail.com> wrote: > > g = input("Guess the number: ")