习题24 更多的练习
# 打印字符串
print("Let's practice everything.")
# 打印字符串,包括转义序列
print("You\'d need to know\'bout escapes with \\ that do:")
# 打印字符串,包括换行符和制表符
print('\n newlines and \t tabs.')
# 为poem赋值,使用三引号显示多行文字
poem = """
\tThe lovely world
with logic so firmly planted
cannot discern \n the needs of love
nor comprehend passion from intuition
and requires an explanation
\n\t\twhere there is none.
"""
# 打印分割线
print("---------------------")
# 打印poem这个变量
print