andom.sample(list, n)即是從list中隨機選取n個不同的元素# -*- coding: utf-8 -*- import random # 從一個list中隨機挑選5個list = [12, 23, 13, 14, ...
確定! 回上一頁