- 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.
推薦閱讀
- Spring 5.0 Microservices(Second Edition)
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發經典名著)
- ThinkPHP 5實戰
- Azure IoT Development Cookbook
- Java EE框架整合開發入門到實戰:Spring+Spring MVC+MyBatis(微課版)
- Go語言高效編程:原理、可觀測性與優化
- Practical Data Science Cookbook(Second Edition)
- 秒懂設計模式
- JAVA程序設計實驗教程
- 軟件品質之完美管理:實戰經典
- 第一行代碼 C語言(視頻講解版)
- IoT Projects with Bluetooth Low Energy
- Android Studio Cookbook
- Mastering HTML5 Forms
- 從零開始構建深度前饋神經網絡:Python+TensorFlow 2.x