python newbie
Aahz
aahz at pythoncraft.com
Sun Apr 7 16:02:01 EDT 2002
In article <d9ea2696.0204071156.4284b1f1 at posting.google.com>,
distrex <distrex at hotmail.com> wrote:
>
>I'm trying my first script with a module and I can't get it to work
>right. I'm using the time module to make part of the game random and
>i just want the number to be at a whole number (no decimals) and I
>can't figure out how to make it do that. If someone needs me to post
>the script I'd be happy to but if you can help me just from memory
>that'd be great too. Thanx in advance.
Use the random module.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"There are times when effort is important and necessary, but this should
not be taken as any kind of moral imperative." --jdecker
More information about the Python-list
mailing list