Imagem de fundo

Considere a instrução Python a seguir:x = [print(i)for i in range(10) if i % 2 == 0]Apó...

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:


A

[1, 3, 5, 7, 9]


B

None


C

[None, None, None, None, None]


D

[0, 2, 4, 6, 8]


E

[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]