Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python random number generator no duplicates

python -c "import random; print(sorted(set([random.randint(6,49) for i in range(7)]))[:6])"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #random #number #generator #duplicates
ADD COMMENT
Topic
Name
2+4 =