Imagem de fundo

Considere o seguinte código Python 3:x = {'f': 1, 'g': 2...

Considere o seguinte código Python 3:


x = {'f': 1, 'g': 2, 'h': 1, 'i': 2, 'j': 3}

x = list(x.values())

x = set(x)

x = sorted(x)

print(x)


Qual será o valor impresso pelo código?


A

['f', 'g', 'h', 'i', 'j']


B

['1', '1', '2', '2', '3']


C

['f', 'g', 'h']


D

[1, 2, 1, 2, 3]


E

[1, 2, 3]