I'm a newbie to python and I have a question that I can't answer it. Please help me!
For example, I have an array in python:
index: 1 | 2 | 3 | 4 | 5 | 6 |
value: a | b | c | d | e | f |
I can read value from the 5th slot of this array by using 2 ways:
print array[4]
print array[-2]
So what is the fastest way to access into the 5th position on this array?
Thank you so much.