Home  >  Q&A  >  body text

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

AttributeError: 'tuple' object has no attribute 'strip' error occurs when intercepting the length

巴扎黑巴扎黑2690 days ago1952

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-05-18 10:53:41

    strip is a string function, and of course the tuple type will report an error

    reply
    0
  • Cancelreply