Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate n different random numbers python

>>> import random
>>> random.sample(range(1, 100), 3)
[77, 52, 45]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #generate #random #numbers #python
ADD COMMENT
Topic
Name
6+8 =