编程语言
首页 > 编程语言> > 笨办法学Python第十天:继续打印打印

笨办法学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.
"""

会看到以下内容:

标签:months,第十天,以下内容,Python,打印,days,Here,print,type
来源: https://blog.csdn.net/qq_33117229/article/details/121319593