Python随机数

2022-11-24  本文已影响0人  月朗照乾坤

```

#python 随机数

import random

#1到100之间的随机数

rnd=random.randint(1,100)

print(rnd)

```

上一篇下一篇

猜你喜欢

热点阅读