import random
x = [i for i in range(10)]value=random.shuffle(x)print(value)
random.shuffle(x) 返回None,
要打印,直接打印"a"列表,打乱后元素仍放在"a"里.