网页提取文本数据,转换整数型或整数型报 unsupported operand type(s) for / 'str' and 'int'
回答
收藏

网页提取文本数据,转换整数型或整数型报 unsupported operand type(s) for / 'str' and 'int'

3
3k1ng
2022-06-11 20:45·浏览量:1770
3
3k1ng
发布于 2022-06-11 20:451770浏览

网页上的元素内容:共26条

 
测试了可以正常取出和提取 文本中的数字 26 但是把他转换成整数型或者小数变量都会报错

unsupported operand type(s) for / 'str' and 'int'


请问应该如何解决呢

收藏
全部回答1
最新
发布回答
回答