import random def random_int (m,n): return round(random.random()*(n-m)+m) print(random_int(10,100))
# 使用random函数实现randint函数的功能,生成指定范围内的随机整数.函数名:def my_randint(start, end)
猜你喜欢
转载自blog.csdn.net/LoveL_T/article/details/81227201
今日推荐
周排行