I am a newbie to the programming and trying to understand how things work. I couldn't get my program to iterate through numpy.array normally, so I decided to try one level simple iteration through list. But still it wouldn't work! The code is as follows:
my_list = [1, 2, 3, 4, 5, 6, 7]
for i in my_list:
print(my_list[i])
So it doesn't take the my_list[0] index of some reason and comes out of range.
Could you please help me to understand why?