Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pmbhatiya authored Apr 21, 2020
1 parent c1344a3 commit 5860711
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Check Strict Superset.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Python Check Strict Superset HackerRank solution

set_my=set(map(int,input().split()))
N=int(input())

flag=0
for i in range(N):
set_check=set(map(int,input().split()))
if set_my.issuperset(set_check)==False:
print("False")
flag=1
break
if flag==0:
print("True")

0 comments on commit 5860711

Please sign in to comment.