[x + y for x in xrange(limit + 1) for y in xrange(x + 1)]
It does the same amount of calculations anyway, but will do it about twice as fast as the for loop.
from itertools import combinations
(a + b for a, b in combinations(xrange(n + 1, 2)))
. , .
, , xrange(2*n + 2)
, , .
:
[x + y for x in set set1 for y in set2]