- Hands-On Penetration Testing with Python
- Furqan Khan
- 84字
- 2021-07-02 14:13:47
String types
We know that a string is a collection of characters. In Python, string types come under the sequence category. Strings are really powerful and have many methods that can be used to perform string manipulation operations. Let's look at the following piece of code, which introduces us to strings in Python. Strings can be declared within both single and double quotes in Python:

In the preceding code, we are simply declaring a string called my_str and printing it on the console window.
推薦閱讀
- 程序員修煉之道:程序設計入門30講
- 軟件項目估算
- 在最好的年紀學Python:小學生趣味編程
- 零基礎學Scratch少兒編程:小學課本中的Scratch創意編程
- 深入理解Django:框架內幕與實現原理
- PaaS程序設計
- HTML5+CSS3基礎開發教程(第2版)
- 人臉識別原理及算法:動態人臉識別系統研究
- Android移動開發案例教程:基于Android Studio開發環境
- Spring MVC+MyBatis開發從入門到項目實踐(超值版)
- 機器學習微積分一本通(Python版)
- Android Studio Cookbook
- Python Programming for Arduino
- HTML5程序開發范例寶典
- Kotlin程序員面試算法寶典