Python-Quizzes | Python Sets Quiz | Question 1

Last Updated :
Discuss
Comments

What is the output of the following program?

Python
set1 = {1, 2, 3, 4, 4} 
print(set1) 

{1, 2, 3}

{1, 2, 3, 4}

{1, 2, 3, 4, 4}

Error

Share your thoughts in the comments