📜  for loop python start at 1 - Python 代码示例

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

代码示例2
l = [0,1,2,3,4]
for i in l[1:]:
    print(i)
# 1,2,3,4