- 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.
推薦閱讀
- The Complete Rust Programming Reference Guide
- 從零開始構建企業(yè)級RAG系統(tǒng)
- C++程序設計(第3版)
- Beginning C++ Game Programming
- arc42 by Example
- Python程序設計(第3版)
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- FreeSWITCH 1.6 Cookbook
- Mastering Python High Performance
- Learning Apache Kafka(Second Edition)
- Java程序設計入門
- HTML5從入門到精通(第4版)
- Java零基礎實戰(zhàn)
- 移動互聯(lián)網(wǎng)軟件開發(fā)實驗指導
- SSH框架企業(yè)級應用實戰(zhàn)