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

  • Learn Python in 7 Days
  • Mohit Bhaskar N. Das
  • 73字
  • 2021-07-09 20:40:24

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.

主站蜘蛛池模板: 肥城市| 上虞市| 遂宁市| 元氏县| 夏邑县| 固始县| 克东县| 攀枝花市| 江口县| 马尔康县| 衡南县| 丰顺县| 石楼县| 和平区| 茶陵县| 洪洞县| 甘洛县| 江北区| 宁河县| 宣城市| 合水县| 石家庄市| 文安县| 乳山市| 石门县| 白水县| 阜城县| 长武县| 永年县| 肇源县| 福清市| 呼玛县| 中牟县| 资兴市| 商都县| 格尔木市| 台南市| 芮城县| 阿尔山市| 繁昌县| 沂水县|