a) s2.issubset(s1)
b) s2.issuperset(s1)
c) s1.issuperset(s2)
d) s1.isset(s2)
If we have two sets, s1 and s2, and we want to check if all the elements of s1 are present in s2 or not, we can use the
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
If we have two sets, s1 and s2, and we want to check if all the elements of s1 are present in s2 or not, we can use the
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!