Python中數字和字符串是否能夠直接相加

不能夠,會拋出以下異常 TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’ 類型不一樣,不能相加拼接web
相關文章
相關標籤/搜索