from random import shuffle mylist=[0,1,2,3,4,5,6,7,8] shuffle(mylist) print(mylist)
什么操作能在原有列表上打乱一个列表的元素
猜你喜欢
转载自www.cnblogs.com/z-x-y/p/9906694.html
今日推荐
周排行