python 隨筆Iris·FollowSep 24, 2021--Share[::-1] 順序相反操作[-1] 讀取倒數第一个元素[3::-1] 從index 3開始翻轉讀取隨機排序import randomrandom.shuffle(list)descending orderlist.sort(reverse = true)Counter 用法input/output example