打乱一个排好序的 list 对象 alist?

 

 

1. import random
2. random.shuffle(alist)

 

posted @ 2018-08-30 10:46  lvmenghui001  阅读(456)  评论(0编辑  收藏  举报