I'm trying to create several arrays in a loop and have access to them further on. I don't understand why I can modify and print them within the loop but outside it says the variable doesn't exist.
for i in range (0,3):
a_i=[i]
a_i.append(i+1)
print a_i
print a_1
Is there anyone who can give me a suggestion on how to fix the problem?
a_1, onlya_i.