从某个取值范围内随机抽取15个数并形成列表

random.sample(range(1,108), 15)

从1-108随机抽取了15个数行程列表

猜你喜欢

转载自blog.csdn.net/weixin_43560675/article/details/125672397