Try This
print [x*x for x in range(20) if x % 2 == 0]
Run