In 11 s1 set In 12 s2 set In 13 s3 set In 14 s1 s2 Out 14 True In 15 s

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
In [11]: s1 = set((1, 2, 3))
In [12]: s2 = set((3, 2, 1))
In [13]: s3 = set((4, 5, 6))
In [14]: s1 == s2
Out[14]: True
In [15]: s1 == s3
Out[15]: False