- 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.
推薦閱讀
- 軟件安全技術
- Scratch 3.0少兒編程與邏輯思維訓練
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Building Serverless Applications with Python
- H5頁面設計:Mugeda版(微課版)
- Unity 2018 Shaders and Effects Cookbook
- GameMaker Essentials
- 精通MySQL 8(視頻教學版)
- Laravel Application Development Blueprints
- Python青少年趣味編程
- 從零開始學Selenium自動化測試:基于Python:視頻教學版
- Blender 3D Cookbook
- SQL Server 2014 Development Essentials
- Android應用開發攻略
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)