輸出結果: Python: random產生隨機不重複的數字list ; random.shuffle(). 撲克牌洗牌: import random cards = list(range(1,53)) ##len(cards) = 52
確定! 回上一頁