Python:实现bogo sort排序算法 import random def bogo_sort(collection): def is_sorted(collection): if len(collection) < 2