Set, Set In Python, Python Programming, Data Science, Artificial Intelligence.
of another set. A set s1 is considered a superset of set s2 if every element of s2 is also an element of s1. If s1 is a superset of s2, then the issuperset() method returns True; otherwise, it returns False. # issuperset s1 = {1,2,3,4,5} s2 = {3,4,5} s1.issuperset(s2) #Output True 4. copy() method: