Is there any way to declare a variable name string with number while running a loop? How can I do that? For example given n1, n2, n3..., n1 has to store i+l value(n("string") with i("number") = n1) then n2 has to stored i+l value of iterated loop.....etc
i=0
l=1
K=range(2,10)
for i in K:
print i
#how to declare a variable name by concatenating string and number
print '--------',l+i
#print n1,n2.....etc