python 生成随机数

# 生成 0 ~ 9 之间的随机数

# 导入 random(随机数) 模块
import random

print(random.randint(0,9))

原文地址:https://www.cnblogs.com/pygo/p/12095682.html