Contact: aviboots(AT)netvision.net.il
40,769 questions
53,151 answers
573 users
st1 = {'python', 'java', 'c', 'c++', 'c#'} st2 = {'c', 'c++', 'php', 'nodejs'} st1.symmetric_difference_update(st2) print(st1) print(st2) ''' run: {'java', 'php', 'nodejs', 'c#', 'python'} {'c++', 'nodejs', 'c', 'php'} '''