总结:TypeError: must be real number, not str

TypeError: must be real number, not str

 

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

posted @ 2019-12-18 16:13  Z张不错  阅读(15147)  评论(0编辑  收藏  举报