Question #9

What is the output of the following code?
list(set([1,2,2,4]))

The common approach to get a unique collection of items is to use a set. Sets are unordered collections of distinct objects. (stackoverflow.com/questions/7961363/removing-duplicates-i...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵