Set .symmetric_difference() Operation

  • + 0 comments

    input() english_newspaper = set(input().split()) input() french_newspaper = set(input().split())

    print(len(english_newspaper.symmetric_difference(french_newspaper)))