I have 8 lists that have a bunch of data in them named erik1,erik2,...,erik8. The code I have is:
while (y<9):#go through all the arrays
y=y+1
array="erik"+str(y)
print (array)
for z in array:
In the for loop, I want array to correspond to the string that is generated in the while loop above it. Right now it thinks of array as a string rather than the list object I want. How can i make this work?