有没有高人能回答一下,之前没任何编程基础,上大学直接上手Python 感谢
可参考:https://blog.csdn.net/imredboy/article/details/99189030 、 https://blog.csdn.net/weixin_31473773/article/details/113993235
与.2f连用,意在保留两位小数
这是python3中的字符串格式化的语法,相关语法如下:https://www.jianshu.com/p/30348f95bf69