random number generator

avnit avnit7 at gmail.com
Fri Nov 4 05:18:39 CET 2005


import random
print random.randint(1,20)

#prints random integer from 1 to 20




More information about the Python-list mailing list