"Sean Ross" <sross at connectmail.carleton.ca> wrote in message news:<0ddKc.34838$TB3.1337328 at news20.bellglobal.com>... ... > Oh, and > > a = random.randint(1, 100) > > should be > > a = random.randint(1, 101) > > if you want people to guess a number between 1 and 100, inclusive. random.randint(1, 100) _can_ return 100. It's randrange that doesn't.