1.

What is the output of the code shown below? l=[1, 2, 4, 5, 2, 'xy', 4] set(l) l

A. {1, 2, 4, 5, 2, ‘xy’, 4} [1, 2, 4, 5, 2, ‘xy’, 4]
B. {1, 2, 4, 5, ‘xy’} [1, 2, 4, 5, 2, ‘xy’, 4]
C. {1, 5, ‘xy’} [1, 5, ‘xy’
D. {1, 2, 4, 5, ‘xy’} [1, 2, 4, 5, ‘xy’]
Answer» C. {1, 5, ‘xy’} [1, 5, ‘xy’


Discussion

No Comment Found