從list中選出n個項目,有可能重複: ```python import random random.choices(seq, n) ```