Python随机数2022-11-24 本文已影响0人 月朗照乾坤 ``` #python 随机数 import random #1到100之间的随机数 rnd=random.randint(1,100) print(rnd) ```