\n :换⾏。
\t :制表符,⼀个tab键(4个空格)的距离。
学习代码如下:
print('hello')
print('world')
print('hello\nPython')
print('\tabcd')
运行结果如下:
08-转义字符.py
\n :换⾏。
\t :制表符,⼀个tab键(4个空格)的距离。
学习代码如下:
print('hello')
print('world')
print('hello\nPython')
print('\tabcd')
运行结果如下:
08-转义字符.py
让时间为你证明