官术网_书友最值得收藏!

String inside the quotes

For printing a string, either a pair of single (' ') quotes or pair of double quotes (" ") can be used as shown in the succeeding examples: 

print "Hello World 'Mr' Bond"
print 'old world "but" still good'

This gives the following results:

C:pydev>python hello.py
Hello World 'Mr' Bond
old world "but" still good
主站蜘蛛池模板: 禄劝| 瓮安县| 青岛市| 新晃| 沾益县| 子洲县| 古蔺县| 雷波县| 宜春市| 灵石县| 大关县| 会同县| 丹东市| 南充市| 武平县| 潞西市| 花垣县| 安新县| 永州市| 和林格尔县| 平顺县| 修文县| 平和县| 修武县| 海口市| 恭城| 古蔺县| 岐山县| 博湖县| 安吉县| 大冶市| 江陵县| 衡南县| 蒲江县| 洛阳市| 绥芬河市| 平凉市| 九龙城区| 昌黎县| 洪泽县| 乌拉特后旗|