Set .symmetric_difference() Operation

  • + 0 comments

    p = int(input()) y = set(map(int, input().split())) t = int(input()) d = set(map(int, input().split())) print(len(y ^ d))