for s in [[1,2,3],[2,3,4],[1,4,5]]: del s[s.index(min(s))] print s