摘要: 1. 字符串的基本创建与操作 1.1 创建字符串 在Python中,字符串可以用单引号、双引号或三引号来创建: s1 = 'Hello' s2 = "World" s3 = '''This is a multi-line string''' 1.2 字符串拼接 在Python中,字符串拼接可以通过加 阅读全文