错误:ValueError: Format specifier missing precision
说明缺乏精度,应该是{1:.1f}%里面出了错
我之前是把1写成了l
解决方法,仔细检查代码有没有写错
format()错误集,参考:https://www.icode9.com/content-1-410435.html
针对python错误 format()
最新推荐文章于 2022-08-19 09:08:26 发布
错误:ValueError: Format specifier missing precision
说明缺乏精度,应该是{1:.1f}%里面出了错
我之前是把1写成了l
解决方法,仔细检查代码有没有写错
format()错误集,参考:https://www.icode9.com/content-1-410435.html