+ 4
How can we merge two list so that it includes all elements of list 1 and only elements from the list 2 which are not in list 1.
list1=[1,5,8,7,8,6] list2=[5,9,6,10,11] Result=[1, 5,8,7,6,9,10,11]
1 Answer
list1=[1,5,8,7,8,6] list2=[5,9,6,10,11] Result=[1, 5,8,7,6,9,10,11]