例子:
import random
c = list(zip(a, b))
random.shuffle(c)
a[:], b[:] = zip(*c)
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
微信扫一扫
例子:
import random
c = list(zip(a, b))
random.shuffle(c)
a[:], b[:] = zip(*c)
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
相关推荐