习题 9: 打印,打印,打印?

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Here's some new strange stuff, remember type it exactly.

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 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 ex9.py
Here are the days:  Mon Tue Wed Thu Fri Sat Sun
Here are the months:  Jan
Feb
Mar
Apr
May
Jun
Jul
Aug

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. 自己检查结果,时时彩计划软件公式:记录你犯过的错误,并且在下个练习中尽量不犯同样的错误。

Project Versions

Table Of Contents

Previous topic

习题 8: 打印,打印

Next topic

习题 10: 那是什么?

This Page

红马时时彩计划群发 时时彩后二做号技巧大全 重庆时时彩五星组选60 时时彩代理返点12.5 博众时时彩软件官方下载
你真逗图片 必赢客重庆时时彩计划 快三时时彩 内蒙古时时彩在线机选 99时时彩平台评测
时时彩全天在线计 新疆时时彩中奖软件 时时彩平买有机会盈利吗 时时彩优博平台好么 抚顺时时彩走势图
时时彩定位胆选号技巧 加盟彩票平台 时时彩赔率不一样 老鬼时时彩软件 重庆时时彩选号工具