

squares = [x ** 2 for x in xrange(10)]
print squares

even_squares = [x ** 2 for x in xrange(10) if x**2 % 2 == 0]
print even_squares

triangles = [a,b,c] for c in xrange(1,11) for b in xrange(1,11) for a in
xrange(1,11)]

l = xrange(1,11)
right_triangles
