tiger12506 wrote: > n = [1,2,5,1,2,34,2,4,7,3,3,45,1,76,8] > proxy = random.shuffle(xrange(len(n))) shuffle() shuffles in place, it doesn't return the shuffled list. > for idx in proxy: > dowith(n[idx]) Why not shuffle n directly? n = ... random.shuffle(n) for x in n: dowith(x) Kent