随机数种子---确定了随机数的产生
import randomrandom.seed(10) #给定种子产生的随机数会相同,可以复现问题的出现print(random.random())
posted on 2019-03-03 11:42 smileBB 阅读(232) 评论(0) 收藏 举报