I have two lists of the same length. I want to merge them into a list of lists like this example:
left_list = [-1,-3,15,3,1.7]
right_list = [1.2,2,17,3.5,2]
res_list = [[-1,1.2],[-3,2],[15,17],[3,3.5],[1.7,2]]
notice the left_list
has smaller valleues so the order matters. Thanks!!