1. 数组切片
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, 9] |
2. 数组更新
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, 9] |
3. 数组排序
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, -9] |
4. 其他数组操作
1 | [1, 2] * 4 # [1,2]重复4次 |
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, 9] |
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, 9] |
1 | l = [1, 2, 3, 4, 5, 6, 7, 8, -9] |
1 | [1, 2] * 4 # [1,2]重复4次 |
微信支付
支付宝