python中 random.randint 和 random.randrange 的区别 https://blog.csdn.net/qq_43618698/article/details/108668971 课外题: #这两种随机取出1到100的随机数,功能是否一样。 r2=random.choice(range(1,101)) r3=random.randint(1,100) print(r2) print(r3)