您的位置:首頁技術文章
文章詳情頁

python - AttributeError: ’tuple’ object has no attribute ’strip’錯誤

瀏覽:82日期:2022-07-17 13:11:19

問題描述

截取長度出現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 編程
相關文章:
国产综合久久一区二区三区