Contact: aviboots(AT)netvision.net.il
39,872 questions
51,796 answers
573 users
listA = [4, 5, 7, 8, 1, 2, 9, 9, 10, 12] listB = [4, 2, 1, 3, 4, 8, 7, 9, 11, 3] setA = set(listA) setB = set(listB) print(list(setA - setB)) ''' run: [10, 12, 5] '''