Python-Quizzes | Python Sets Quiz | Question 10

Last Updated :
Discuss
Comments

What is the output of the following program?

Python
set1 = set([1, 2, 4, 4, 3, 3, 3, 6, 5]) 

print(set1) 

{1, 2, 4, 4, 3, 3, 3, 6, 5}

{1, 2, 3, 4, 5, 6}

[1, 2, 3, 4, 5, 6]

[1, 2, 4, 4, 3, 3, 3, 6, 5]

Share your thoughts in the comments