python入门小白的心得

random生成随机数
random(a,b)生成[a,b]之间的整数,randrange(start,stop[,step])生成一个[start,stop)之间以step为步数的随机整数。

评论

暂无评论