Considere a instrução Python a seguir:
x = [
print(i)
for i in range(10) if i % 2 == 0
]
Após a execução dessa instrução no Python 3.7, a variável “x” conterá o valor:
[1, 3, 5, 7, 9]
None
[None, None, None, None, None]
[0, 2, 4, 6, 8]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]