TypeError: not all arguments converted during string formatting

错误提示:

TypeError: not all arguments converted during string formatting

错误分析:

formatting是格式的意思,再看看代码发现 

少写了字符串占位符:%s

修改前:

修改后:

原文地址:https://www.cnblogs.com/kaerxifa/p/11205943.html