#!/usr/local/bin/python2 l = range(9) y = range(9) for i in xrange(100000): n = l[:] n.append(y) print n