You are viewing a single comment's thread. Return to all comments →
n_english = int(input()) students_english = set(input().split()) n_french = int(input()) students_french = input().split() print(len(students_english.symmetric_difference(students_french)))
Set .symmetric_difference() Operation
You are viewing a single comment's thread. Return to all comments →