转义字符 s = 'Let\' go' print(s) Let’ go s = '小明喜欢学\npython'#\n 换行,相当于回车 print(s) 小明喜欢学 python 字符换的格式化 a = 'python' s = '小明喜欢学%s&