📜  py 随机列表整数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:57.601000             🧑  作者: Mango

代码示例2
import random
# List of random integers chosen from a range
Random_ListOfIntegers = random.sample(range(Start, Stop), limit)
print(Random_ListOfIntegers)