Look at the following code:
set1 = set([1, 2, 3, 4])
set2 = set([2, 3])
Which of the sets is a subset of the other?
Which of the sets is a superset of the other?
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.