[Tutor] Idle
Alan Gauld
alan.gauld at btinternet.com
Fri Mar 14 14:01:47 CET 2008
"Michael Connors" <connorsml at gmail.com> wrote
> You need to put :
> import random
>
> or alternatively use:
> from random import *
Or better still use
from random import randrange
import * style is not recommended because of the dangers
of polluting the namespace
--
Alan Gauld
Author of the Learn to Program web site
Temorarily at:
http://uk.geocities.com/alan.gauld@btinternet.com
Normally:
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list