Q. What is the output of the following?
Code:
print(set([1,2,2,3,4,4]))
β
Correct Answer: (A)
{1, 2, 3, 4}
Explanation: Sets automatically remove duplicates.