Please see my attached python script from a larger script I am putting together. This example is simpler than my actual problem that I am trying to solve, but illustrates my lack of understanding of python code:
In the above example, I need to be able to write the value of “test” to the "a"th index of the list “counttest”.
In my more complicated code, I will not know the length of “counttest” and therefore need the length of “counttest” to be populated one by one, possibly being overwritten as it goes.
I am guessing this is where the python code is getting tripped up, any ideas on how to fix? My error is index 0 is out range.