for car in cars: # Skip first and last, do work for rest
itercars = iter(cars) next(itercars) for car in itercars: # do work
itercars = iter(cars) # add 'next(itercars)' here if you also want to skip the first prev = next(itercars) for car in itercars: # do work on 'prev' not 'car' # at end of loop: prev = car # now you can do whatever you want to do to the last one on 'prev'
for car in cars[1:]: # Do What Ever you want
for car in cars[:-1]: # Do What Ever you want