python random.sample()和random.choices()s = random.sample(list, k)sample 是相当于不放回抽样。如果列表中的数据不重复,抽取数据不重复.s ...
確定! 回上一頁