TypeError: must be real number, not str

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

 

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

相关文章: