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

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.

主站蜘蛛池模板: 平山县| 通州市| 民丰县| 灵山县| 九江市| 旬阳县| 聂拉木县| 金华市| 汽车| 新巴尔虎右旗| 永平县| 谢通门县| 萝北县| 清涧县| 霍州市| 枣阳市| 雷山县| 宁都县| 广昌县| 岳阳市| 旬邑县| 望谟县| 林口县| 财经| 江津市| 平远县| 贵阳市| 周宁县| 原平市| 天柱县| 广州市| 四川省| 乐安县| 满洲里市| 鲁甸县| 平阳县| 太和县| 天祝| 盖州市| 新宁县| 犍为县|