摘要: Slice(切片) >>> L = ['Michael', 'Sarah', 'Tracy', 'Bob', 'Jack'] >>> L[0:3] ['Michael', 'Sarah', 'Tracy'] >>> L[:3] ['Michael', 'Sarah', 'Tracy'] >>> L[ 阅读全文
posted @ 2018-01-14 22:13 Merrys 阅读(179) 评论(0) 推荐(0) 编辑