- 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.
推薦閱讀
- JavaScript全程指南
- JavaScript Unlocked
- C語言程序設(shè)計案例精粹
- 重學(xué)Java設(shè)計模式
- Python忍者秘籍
- Python 3.7從入門到精通(視頻教學(xué)版)
- Python Data Science Cookbook
- Xamarin Blueprints
- C++ System Programming Cookbook
- 算法圖解
- 物聯(lián)網(wǎng)系統(tǒng)架構(gòu)設(shè)計與邊緣計算(原書第2版)
- Spring Data JPA從入門到精通
- 從“1”開始3D編程
- Scala編程(第4版)
- Java網(wǎng)絡(luò)編程實(shí)用精解