lst1 = [1, 2, 3, 5]lst2 = [4, 5]lst2 = [i for i in lst2 if not i in lst1 or lst1.remove(i)]
print(lst1):[1, 2, 3]print(lst2):[4]