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
- Set .difference() Operation
- Discussions
Set .difference() Operation
Set .difference() Operation
Sort by
recency
|
342 Discussions
|
Please Login in order to post a comment
e=int(input()) english=set(input().split())
f=int(input()) french=set(input().split())
inter=english.difference(french)
print(len(inter))
if name == 'main': n = int(input()) n = set(list(map(int , input().split())))