OverIQ.com
Run (or Hit F9)
A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} B = {1, 2, 3} print(B < A) # Is B subset of A? print(A < B) # Is A subset of B? print(B > A) # Is B superset of A? print(A > B) # Is A superset of B?