You are viewing a single comment's thread. Return to all comments →
if __name__ == "__main__": _, english_students = int(input()), set(map(int, input().split())) _, french_students = int(input()), set(map(int, input().split())) print(len(english_students ^ french_students))
Set .symmetric_difference() Operation
You are viewing a single comment's thread. Return to all comments →