First set is subset of second set - True
Second set is subset of First set - False
First set is Super set of second set - False
Second set is Super set of First set - True
First Set set()
Second Set {67, 73, 43, 48, 83, 57, 29}

first_set = {57, 83, 29}
second_set = {57, 83, 29, 67, 73, 43, 48}
print("First Set ", first_set)
print("Second Set ", second_set)
print("First set is subset of second set -", first_set.issubset(second_set))
print("Second set is subset of First set - ", second_set.issubset(first_set))
print("First set is Super set of second set - ", first_set.issuperset(second_set))
print("Second set is Super set of First set - ", second_set.issuperset(first_set))
if first_set.issubset(second_set):
first_set.clear()
if second_set.issubset(first_set):
second_set.clear()
print("First Set ", first_set)
print("Second Set ", second_set)

Hint:Use the below methods of a set class

`issubset()`

`issuperset()`

`clear()`

need an explanation for this answer? contact us directly to get an explanation for this answerSolution: