Nov-29-2023, 02:12 AM
(Nov-29-2023, 02:03 AM)rob101 Wrote:(Nov-29-2023, 01:57 AM)gohanhango Wrote: In my case, it is actually important to maintain the order of the static list and follow the order of the static list.
In that case, simply use the index positions of the source list as a positional argument for the sub-list.
My actual data actually has more than 4000 values. So if you mean searching every index of the sublist, it might not be good to search every individual index of the sublist. I'm aware that there are stuff life divide and conquer for that? What would you recommend I study with regards to those?
The solution I posted using dict function works well for me but I'm still interested in the other ways I could go about this.