一:代码
# Here's some new strange stuff, remember type it exactly.
days = "Mon Tue Wed Thu Fri Sat Sun"
months = "Jan\nFed\nMar\nApr\nMay\nJun\nJul\nAug"
print "Here are the days: ",days
print "Here are 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.
Even 4 lines if we want, or 5, or 6.
"""
二:附加练习
1:检查结果并记录错误。
注:怎样将每个月份显示在新的一行?
答:字符串以\n开始即可。