模块:一些内置的函数,需要引入才能使用,如随机数

random(随机数)

  1. import random 引入才能使用
  2. random.randrange(1,100) 产生1-100的随机数