- Hands-On Penetration Testing with Python
- Furqan Khan
- 97字
- 2021-07-02 14:13:48
String indexes
It must be noted that strings can be accessed as a sequence of characters in Python. Strings can be thought of as a list of characters. Let's try to print the characters at various indices of the string, as shown in the following screenshot:

At index 0, the character 0 gets printed. At index 10, we have an empty space, while at index 5, we have the letter m. It should be noted that the sequences are stored in Python with a starting index of 0, and the same holds true for the string type.
推薦閱讀
- Learn ECMAScript(Second Edition)
- C++面向對象程序設計(第三版)
- Visual C++數字圖像模式識別技術詳解
- 精通搜索分析
- 機械工程師Python編程:入門、實戰與進階
- Java EE 7 Development with NetBeans 8
- Amazon S3 Cookbook
- HTML5+CSS3網站設計基礎教程
- Visual C#通用范例開發金典
- Procedural Content Generation for C++ Game Development
- .NET Standard 2.0 Cookbook
- C++ Application Development with Code:Blocks
- Arduino電子設計實戰指南:零基礎篇
- Java高手是怎樣煉成的:原理、方法與實踐
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)