Python中数字和字符串是否能够直接相加

不能够,会抛出以下异常 TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’ 类型不一样,不能相加拼接web
相关文章
相关标签/搜索