摘要: Python为序列类型(sequence types)[1]提供了独特的索引(indexing)和切片(slicing)机制以访问序列的某个元素或某一部分。 [1] 如list, tuple, range, str, bytes, bytearray, memoryview 1.索引 在前文中已经展 阅读全文
posted @ 2019-12-26 21:11 Python探索牛 阅读(3660) 评论(0) 推荐(1) 编辑