目标:掌握 random 模块的 uniform 方法的使用

    一:random 模块的 uniform 方法的使用

    功能:随机生成指定区间的浮点数
    语法:random.uniform(1,6) 随机生成1到6的浮点数
    截图:

    image.png