compreensões

print([x * 2 for x in range(10) if x % 2 == 0])  # [0, 4, 8, 12, 16]
Cheerful Cow