Re: Another newbie question from Nathan.

2005-07-10 Thread johng2001
Nathan Pinno wrote: > Hi all, > > How do I make Python get a def? Is it the "get" function, or something > else? I need to know so that I can get a def for that computer > MasterMind(tm) game that I'm writing. > > BTW, I took your advice, and wrote some definitions for my Giant > Calculator pro

Re: Another newbie question from Nathan.

2005-07-09 Thread Nathan Pinno
Hi all, How do I make Python get a def? Is it the "get" function, or something else? I need to know so that I can get a def for that computer MasterMind(tm) game that I'm writing. BTW, I took your advice, and wrote some definitions for my Giant Calculator program. Might make the code eas

Re: Another newbie question from Nathan.

2005-07-02 Thread Steven D'Aprano
On Sat, 02 Jul 2005 00:25:00 -0600, Nathan Pinno wrote: > > > Hi all. > > How do I make the computer generate 4 random numbers for the guess? I want > to know because I'm writing a computer program in Python like the game > MasterMind. First you get the computer to generate one random numb

Re: Another newbie question from Nathan.

2005-07-01 Thread Brian van den Broek
Nathan Pinno said unto the world upon 02/07/2005 02:25: > > Hi all. > > How do I make the computer generate 4 random numbers for the guess? I want > to know because I'm writing a computer program in Python like the game > MasterMind. > > Thanks. > > -- > Nathan Pinno > http://www.n