def merge_arrays(arr1, arr2): # 1. Merge the two arrays # 2. Remove duplicates # 3. Sort the list in ascending order return sorted(set(arr1 + arr2)) a = list(range(0, 10, 2)) b = list(range(2, 21, 3)) print(a) print(b) print(merge_arrays(a, b))