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.
Set .symmetric_difference() Operation
Set .symmetric_difference() Operation
Sort by
recency
|
295 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.symmetric_difference(french)
print(len(inter))
Enter your code here. Read input from STDIN. Print output to STDOUT
if name == 'main': n = int(input()) n = set(list(map(int , input().split())))