简要记一下random模块的一些方法
首先import random
a = 3
b = 4
list = [1,3,4]
random.random() #随机产生一个0到1之间的小数
random.uniform(a,b) #产生一个a到b之间的小数
random.randint(a,b) #产生一个a到b之间的整数
random.choice(list)# 产生一个列表中的随机项