[Tutor] Need help with random numbers

steve@purestfeeling.net steve@purestfeeling.net
Mon, 16 Jul 2001 16:30:30 -0600 (MDT)


Greetings my fellow fine Pythonistas.

Don't want to give too much away on what I'm trying to do, so I'm asking
for help in one field.

I need to generate a random integer within certain bounds, say 1-10, and
feed it into a variable for use elsewhere in the program, so A= the
generated number.

What I was hoping, as a newbie, is that someone could give me an idea on
how to do this. More specifically, the simplest way to do this for a stone
cold(ish) newbie.

Thanks

-- 
Steve - Editor - www.formulaoneupdate.com 
-------------------------------------------------------------------
"We put the 'M' in Stupid."