这是我读《Learn Python The Hard Way》所做的练习,如果有错误请指正。
days = "Mon Tue Wed Thu Fri Sat Sun"
months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"
#
print "Here are the days:", days
print "Here ate the months:", months
#
print """
There's something going on here.
With the three double-quotes.
We'll be able to type as much as we like.
"""
Escape Sequence
|
Description
| |
\\
|
Print Backslash
|
|
\'
|
Print single-quote
|
\"
|
Print double-quote
|
|
\f
|
ASCII formfeed (FF)
|
|
\n
|
ACSII linefeed (LF)
|