python錯誤、技巧集合(持續更新)

知其然更知其所以然 文章目錄 一.錯誤: 1.unsupported operand type(s) for |: 'str' and 'str' 一.錯誤: 1.unsupported operand type(s) for |: ‘str’ and ‘str’ 「這個或運算符號 ‘’|‘’ 不能用在‘str‘ 類型之間」 原因: 聽報錯就很明白了,此次進行了‘str’與‘str’的運算,即‘1
相關文章
相關標籤/搜索