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)))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .symmetric_difference() Operation
You are viewing a single comment's thread. Return to all comments →