list1 = [2, 3, 8, 4, 9, 5, 6] list2 = [5, 6, 10, 17, 11, 2] list3 = list1 + list2 sort_list = sorted(list(set(list3))) print(sort_list)