#!/usr/local/bin/python2 l = [[1,2,3,4,5], [6,7,8,9,0], [1,2,3,4,5], [6,7,8,9,0], [1,2,4,5]] for k in xrange(10000): [j for i in l for j in i]