Python Set issubset() Method

Python Set issubset() Method

  • The issubset() method in Python checks whether a given Set is a subset of another specified Set. If all the elements of a given Set is present in another Set then the given set is called the subset of another Set.

Syntax

  • set.issubset(set)

Parameter Values

  • set - The set to search for equal items in set.

 

 

Comments