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 Strict Superset
- Discussions
Check Strict Superset
Check Strict Superset
Sort by
recency
|
1090 Discussions
|
Please Login in order to post a comment
my all testcases are run successfully but last one give error(one testcase is fai)l can anyone tell me what should i do?????
setA = set(map(int, input().split())) n=int(input()) for i in range(n): n_set=set(map(int, input().split()))
print(setA.issuperset(n_set))
my solution is easiest i guess