random.shuffle should work. Here's an example, where the objects are lists: from random import shuffle x = [[i] for i in range(10)] ...
確定! 回上一頁