[Python] list內容亂序 發佈日期: 2022 年 4 月 3 日 作者: Sky Leong import random x = [1, 2, 3, 4, 5, 6] random.seed('abc') #set the seed make every time get the same result random.shuffle(x) print(x) 相關文章Python生成不重複N個隨機數[Python] Tkinter button action傳入參數vs-code-python設定interpreter[Python] 發送含附件emailgit更改遠端地址mongodb arrayFilters