Ok guys, Why does this simple for-loop fail to fill a list? Here is what I have:
axx =  for i in range(1,7): axx.append('ax'+str(i)) print(axx[i])
I am getting an error:
Traceback (most recent call last): File "./bin_data2.py", line 57, in <module> print(axx[i]) IndexError: list index out of range
This should pretty simple and straightforward, isn't it? Sorry, coming from Fortran background!
Have an answer?