代码
复制代码 代码如下:
import random
print random.random()
print random.randint(1, 100)
list = [1, 2, 3, 4, 5]
print random.choice(list)
random.shuffle(list) print list
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8