- 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.
推薦閱讀
- Java逍遙游記
- 深入核心的敏捷開發:ThoughtWorks五大關鍵實踐
- Mastering Concurrency Programming with Java 8
- Angular UI Development with PrimeNG
- HBase從入門到實戰
- INSTANT MinGW Starter
- Django Design Patterns and Best Practices
- Mastering C# Concurrency
- Java Web程序設計
- Mastering Python Networking
- Learning SciPy for Numerical and Scientific Computing(Second Edition)
- Apache Camel Developer's Cookbook
- The Statistics and Calculus with Python Workshop
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)
- Visual Basic 開發從入門到精通