判断题

已知seq为长度大于10的列表,并且已导入random模块,那么[random.choice(seq)for i in range(10)]和random.sample(seq,10)等价。

A

B

正确答案

来源:www.examk.com

答案解析