笨办法学Python第十天:继续打印打印

编辑以下内容:

# Here's some new strange stuff,remember type it exactly.

days = "Mon Tue Wed Thu Fir Sat Sun"
months = "Jan/nFeb/nMar/nApr/nMy/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.
"""

会看到以下内容:

笨办法学Python第十天:继续打印打印

上一篇:JavaWeb学习分享


下一篇:Linux进程管理专题