I am a python newbie. I was confused on how to access array element dynamically.
I have a list b= [1,2,5,8] that I dynamically obtain so its length can vary. With help of this list I need to update multi-dimensional array as mArr[1] [2] [5] [8] . The length of the list and array dimension matches as given in the example
Basically, I am looking a technique to access a multi dimensional array with respect to the list "b" as in the form of : marr[b]. This m-array is also dynamically created.
I tried looking on to tutorials of numpy but was not figure out the solution.Am I missing something?
Thanks in advance.