首页 > 技术文章 > 总结:TypeError: must be real number, not str

yayazhang221 2019-12-18 16:13 原文

TypeError: must be real number, not str

 

 用了占位符%f,要注意参数要是数字类型的,而不能是str类型的

推荐阅读