shuffle() 方法將序列的所有元素隨機排序。 以下是shuffle() 方法的語法: import random random.shuffle (lst ) 例如:給定一串排好序的列表a=[1,2,3,4,5], 設計.
確定! 回上一頁