我需要在Python的切片表示法上有一个很好的解释(引用是一个加号).
对我来说,这种符号需要一点点提升.
它看起来非常强大,但我还没有完全了解它.
python iterable list slice
在python中,我该怎么做:
for car in cars: # Skip first and last, do work for rest
python
python ×2
iterable ×1
list ×1
slice ×1