Date: 02/19/06 19:01:26
Subject: Re: [Tutor] Generating small random integer
 
 
You need to tell python that randint is in the random module.
 
ie, instead of calling randint(), call random.randint().
 
 
**********************
 
oops.   I should have know that.
 
*********************
 
Have you been through the tutorial on python.org? It is quite helpful.
 
 
***********************
 
I skimmed it a couple of times.
 
I did try to read it from "cover to cover", but too quickly got into places where I did not know
what it talked about.
 
So I am falling back on the tactic of using it as a reference to look things up as I develope my program,
and if I can't find the answer there
to ask you guys.
 
Kermit    <    [EMAIL PROTECTED]    >
 
 
 
 
 
 
 
 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to