Python Set issuperset() method

Python Set issuperset() method

The set.issuperset() method in Python returns a boolean value True if all items in the specified set exists in the original set, else it returns False.

Syntax

Parameter

set- This parameter represents the main set.

set1- This argument signifies the other set to search for equal items.

Return

This method a boolean value True if all items in the specified set exists in the original set, otherwise it returns False.

Example 1

Output

Example 2

Output

Example 3

Output