例子:
import random c = list(zip(a, b)) random.shuffle(c) a[:], b[:] = zip(*c)
Python之两个列表一起打乱
原文:http://www.cnblogs.com/huangshiyu13/p/6917789.html