Set .symmetric_difference() Operation

  • + 0 comments

    e = int(input()) count = 0 english_np = set(map(int,input().split())) f = int(input()) french_np = set(map(int,input().split())) diff = english_np.symmetric_difference(french_np) for num in diff: count += 1 print(count)