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