best way to merge 2 array list in python3 code code example
Example: merge two lists
# Makes list1 longer by appending the elements of list2 at the end.
list1.extend(list2)
# Makes list1 longer by appending the elements of list2 at the end.
list1.extend(list2)