random可以用于随机生成整数或浮点数,也可以从列表中随机选取元素。本次课程参考代码 https://github.com/programing-basic-Tutor/Python_Examples/blob/master/26.random_examples.py
用户评论