I have a list of lists with pairs inside the inner lists as shown below.
odds_list = [[(105, -116), (105, -115), (-115, -105), (-115, -105), (100, -120), (-115, 105), (100, -120), (105, -125), (-115, -105), (-115, -105)], [(-108, -102), (110, -130), (-110, -110), (-108, -112), (-115, -105), (-105, -105), (-115, -105), (-110, -110), (-110, -110), (-110, -110)]
There are 10 pairs in each inner list and there are 13 inner lists (I did not copy and paste them all over in the example).
I need the maximum and minimum value of the left pair value (out of all the pairs in that specific inner list), and the maximum and minimum value of the right pair value (out of all the pairs in that specific inner list) for each of the inner lists.
How would I go about this using python?
For the first list of 10 pairs, it would be
Max_Value_Left_List_1 = 105
Min_Value_Left_List_1 = -115
Max_Value_Right_List_1 = 105
Min_Value_Right_List_1 = -125
Note: The amount of inner lists in this case is 10 but this is subject to change but there will always be 10 pairs in an inner list.