python random函数 random()函数用于生成随机数语法:首先需要导入random模块,随后调用模块中的各种函数生成各类随机数import randoma=random.fuc() python 2023-05-18 34 点赞 0 评论 51 浏览