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

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
主站蜘蛛池模板: 平远县| 巩义市| 乃东县| 武强县| 阜城县| 疏勒县| 若尔盖县| 乡城县| 安庆市| 哈尔滨市| 平泉县| 中西区| 沐川县| 桐庐县| 博湖县| 城市| 叙永县| 克什克腾旗| 喀喇| 宁波市| 惠来县| 武邑县| 定南县| 宾川县| 交城县| 镇赉县| 鄂州市| 应城市| 铁力市| 安仁县| 迭部县| 都安| 巴林左旗| 广昌县| 云梦县| 漳浦县| 通许县| 响水县| 孝感市| 峡江县| 阿城市|