原创 python基礎--字符串處理

字符串相關處理 字符串拼接 temp1 = "我是" temp2 = "皮皮江" temp = temp1 + temp2 print(temp) 我是皮皮江 重複字符 >>> 'hello' * 3 'hellohellohello'