so i basically have a nested list that will be constantly changing but for example it will look like this:
[9,1,[3,5][3]]
and then I'm also getting a generated index that's formatted like this:
[2,1]
so, at index [2,1] the value is '5' but how do I write code that will automatically extract this value for me? the list will be constantly changing and the indexes will also be changing (will always be a valid index) so I cant just used a nested for loop. is there any easy way to do this?
[3,5][3]isn't valid. You meant[3,5], [3], right?