random模块、os模块、sys模块
在这里插入代码片import randomprint (random.random())print(random.randint(1,8)) #包括8print(random.choice('hello'))print(random.choice(['123',4,[1,2]]))print(random.sample(['123',4,[1,2]],2))print(random...
原创
2019-11-23 01:46:59 ·
182 阅读 ·
0 评论