主页
Python
Python Random randrange() 方法
demo_ref_random_randrange
运行 ❯
×
更改方向
保存代码
更改主题
import random print(random.randrange(3, 9)) #returns a number between 3 (included) and 9 (not included)