We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Sets
- Check Subset
- Discussions
Check Subset
Check Subset
Sort by
recency
|
882 Discussions
|
Please Login in order to post a comment
I don't know why are people complicating this task in the discussions. This code successfully satisfies all the criterias and uses the set methods well.
you can use <= to check subset or A.issubset(B) method