/ Published in: Python
Generates a random number from 1 to 200 step 1.
Expand |
Embed | Plain Text
import random print random.randrange(1,200,1)
You need to login to post a comment.
louscomp on 12/17/09
number python random generator console
2 people have marked this snippet as a favorite
Generates a random number from 1 to 200 step 1.
import random print random.randrange(1,200,1)
You need to login to post a comment.