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

String data types

A Python string is a contiguous sequence of Unicode characters. Single quotes or double quotes can be used to denote a string, as we saw in Chapter 1, Getting Started with Python. For multiline string representation, ''' or """ can be used.

Syntax:

<variable name>= <String sequence> 

You will understand better with the following screenshot:

More details on strings, tuples, list, and dictionary will be covered in the coming chapters.

主站蜘蛛池模板: 息烽县| 南开区| 扶风县| 黄冈市| 安阳市| 肥西县| 宜兰市| 黄山市| 江门市| 资中县| 乳源| 津南区| 西乌珠穆沁旗| 安顺市| 夏河县| 新巴尔虎左旗| 双牌县| 阳春市| 当阳市| 福清市| 溧阳市| 山东| 囊谦县| 扎囊县| 庆云县| 娄底市| 常州市| 马公市| 宁南县| 蓝山县| 松溪县| 南城县| 碌曲县| 洱源县| 梅州市| 收藏| 隆昌县| 宁安市| 晴隆县| 扎鲁特旗| 乐山市|