Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

random.sample python

random.sample(population, k, *, counts=None)
Return a k length list of unique elements chosen from the population sequence
or set. Used for random sampling without replacement.
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
7+1 =