set_isfooset.py 147 Bytes
Newer Older
John R. Lenton's avatar
John R. Lenton committed
1
2
3
4
5
sets = [set(), {1}, {1, 2, 3}, {3, 4, 5}, {5, 6, 7}]
for i in sets:
    for j in sets:
        print(i.issubset(j))
        print(i.issuperset(j))