- Python Data Structures and Algorithms
- Benjamin Baka
- 89字
- 2021-07-09 19:45:02
Sequences
Sequences are ordered sets of objects indexed by non-negative integers. Lists and tuples are sequences of arbitrary objects, strings are sequences of characters. String, tuple, and range objects are immutable. All sequence types have a number of operations in common. For all sequences, the indexing and slicing operators apply as described in the previous chapter. Note that for the immutable types, any operation will only return a value rather than actually change the value.
All sequences have the following methods:

In addition, all sequences support the following operations:

推薦閱讀
- C++案例趣學
- C++程序設計(第3版)
- UML和模式應用(原書第3版)
- 密碼學原理與Java實現
- Python數據可視化:基于Bokeh的可視化繪圖
- 青少年美育趣味課堂:XMind思維導圖制作
- RTC程序設計:實時音視頻權威指南
- Learning AWS Lumberyard Game Development
- Mastering Unity Shaders and Effects
- Unity 2018 Shaders and Effects Cookbook
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- Python項目實戰從入門到精通
- QGIS Python Programming Cookbook(Second Edition)
- JBoss:Developer's Guide
- Webpack實戰:入門、進階與調優(第2版)