123456789 |
- set_1 = set([(), (1,), (5,), (1, 2), (2, 2), (1, 2, 2)])
- set_2 = set([(), (1,), (2,), (1, 2), (2, 2), (1, 2, 2)])
- print set_1 == set_2
- print set_1 != set_2
- set_1 = set([(), (1,), (2,), (1, 2), (2, 2), (1, 2, 2)])
- set_2 = set([(), (1,), (2,), (1, 2), (2, 2), (1, 2, 2)])
- print set_1 == set_2
- print set_1 != set_2
|