print('hello\nworlk')#\ +转义功能的首字母 n——>newline的首字母表示换行
print('hello\tworld')
print('helloooo\tworld')
print('hello\rworldprint')#world将hello进行了覆盖
print('hello\bworld')#\b是退一个格,将o退没了
print('http:\\\\www.baidu.com')
print('老师说:\'大家好\'')
#原字符 不希望字符串中的转义字符起作用,就print使用原字符,就是在字符串之前加上r,或R
print(r'hello\nworld')
#注意事项,最后一个字母不能是反斜杠
print(r'hello\nworld\')
print(r'hello\nworld\\'