How can a generate multiple array with this syntax result0, result1, result2 etc..
I tried this and this work :
for i in xrange(0, 7):
var_num = i
globals()['result%s' % var_num] = []
globals()['result%s' % var_num].append(1000+i)
print ['result%s' % var_num][0]
it gives me theses array :
result0
result1
result2
result3
result4
result5
result6
But i'm sure there is another way to do that?...
Thanks