import random random.random() --- 0 - 1 random.uniform(0, 5) --- a -b np.random.rand() --- 0 -1
生成0-n的一个列表