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