How to do for loop through all items of a list except the first [duplicate]

Use list slices:

for i in balls[1:]:
    print(i)

Leave a Comment