You are viewing a single comment's thread. Return to all comments →
for .difference also use '-'
n ,a = int(input()), set(map(int,input().split())) m ,b = int(input()), set(map(int,input().split())) print(len(a-b))
Set .difference() Operation
You are viewing a single comment's thread. Return to all comments →
for .difference also use '-'