#!/usr/local/bin/python2 l1 = range(10) l2 = range(10) l3 = range(21) g = 5 for i in xrange(100000): #[e for e in l3][g] for e in l1: e r = g for e in l2: e r