random.randint()用法

random.randint(a,b)

  • a,b必须是整数
  • 函数生成的随机数n: a <= n <= b
posted @ 2021-07-31 09:49  ice猫猫3  阅读(750)  评论(0编辑  收藏  举报