代码实现 代码如下(示例): rint('1.hello\nworld')#进行两行输出 n-newline print('2.hello\tworld')#制表符 print('3.hello\rworld')#只显示world,r回车覆盖3.hello print('4.hello\bworld')#\b退格,消去了o print(r'5.hello\nworld')#r为原字符,使转义字符不起作用 结果显示