random.
sample
(population, k)
Return a k length list of unique elements chosen from the population sequence. Used for random sampling without replacement.
random.
sample
(population, k)
Return a k length list of unique elements chosen from the population sequence. Used for random sampling without replacement.
原文:https://www.cnblogs.com/casperwin/p/8454856.html