📜  在 python [:-1] - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:22.084000             🧑  作者: Mango

代码示例1
>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]