[Tutor] My number-guessing program

Alan Gilfoy agilfoy at frontiernet.net
Mon Oct 2 13:34:36 CEST 2006

Yeah, that's what the wiki-based tutorial mentioned.
In fact, Lee Harr (my community adviser) also suggested using a random number.

Quoting Luke Paireepinart <rabidpoobear at gmail.com>:

> Alan Gilfoy wrote:
(the start of the code for my number-guessing thingamajig)
>> else:
>>    print "The number-guessing loop is over."
(some more code)

My line: number = 3
Would I use 'number = random.randint()' in place of that, to have the 
relevant number be random?

More information about the Tutor mailing list