Home » Unlabelled » How do I generate random numbers in Python? | Python
Thursday, 26 April 2012
How do I generate random numbers in Python? | Python
The standard module random implements a random number generator. Usage is simple: import random random.random() This returns a random floating point number in the range [0, 1).
No comments:
Post a Comment