您的位置:首页技术文章
文章详情页

python - AttributeError: ’tuple’ object has no attribute ’strip’错误

【字号: 日期:2022-07-17 13:11:19浏览:64作者:猪猪

问题描述

截取长度出现AttributeError: ’tuple’ object has no attribute ’strip’错误python - AttributeError: ’tuple’ object has no attribute ’strip’错误

python - AttributeError: ’tuple’ object has no attribute ’strip’错误

问题解答

回答1:

strip是字符串函数,tuple类型当然会报错啊

标签: Python 编程
相关文章: