rio wrote: > i too am a newbie to programming (except BASIC over 20 years ago!). > randrange() didnt seem to be in the random module (pyth2.4.2)
Sure it is, check your spelling and make sure you call it random.randrange(): Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import random >>> random.randrange(2) 1 > can i gush? I LOOOOOOVE python! what a great language! IDLE is awesome! > this list is awesome! i learn so much every day... Gush away :-) Kent -- http://www.kentsjohnson.com _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor