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

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.

主站蜘蛛池模板: 曲阳县| 即墨市| 藁城市| 柘城县| 新平| 留坝县| 慈利县| 鄂托克前旗| 静乐县| 比如县| 临高县| 乌审旗| 彰化市| 四平市| 自贡市| 乡宁县| 沈阳市| 普定县| 贺兰县| 凤阳县| 庆云县| 筠连县| 阜康市| 屏东市| 安西县| 和静县| 赤城县| 安康市| 永仁县| 吴堡县| 南川市| 布尔津县| 大宁县| 湘西| 旬邑县| 高州市| 洪江市| 龙海市| 吉安县| 张家川| 洪湖市|