Raw String
原始字串
# 使用r,只能印單行,\, \t, \n都被視為原始字串
print(r'This is Jason\'s notebook.\t\n')
# 使用''',可以印多行
print('''First line.
This is Jason\'s notebook. \t\n
third line''')
# 使用""",跟'''一樣的意思
print("""First line.
This is Jason\'s notebook. \t\n
third line""")
# 單行註解
"""
多行註解
"""
'''
多行註解
'''Last updated