#!/usr/local/bin/python2 l = [1,2] del l[5:] print l