📜  随机整数 python 代码示例

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

代码示例6
from random import randint
random_integer_between_40_and_50 = randint(40, 50)# 40 is start and 50 is end
print(random_integer_between_40_and_50)