random.randint()用法

random.randint(a,b)

  • a,b必须是整数
  • 函数生成的随机数n: a <= n <= b
原文地址:https://www.cnblogs.com/icemiaomiao3/p/15083386.html