文章目录 错误复现 报错 解决办法 错误复现 # python代码 print('1除以2等于%f' %1/2) 报错 TypeError: unsupported operand type(s) for /: 'str' and 'int'