Set .symmetric_difference() Operation

  • [deleted]Challenge Author
    + 0 comments

    For Python3

    e = int(input())
    english = set(input().split())
    f = int(input())
    french = input().split()
    
    print(len(english.symmetric_difference(french)))