I'm trying to create #arb dictionaries like this:(arb = 2 or 4 or some number)
for n in xrange(0, arb):
dictn = {}
However I realize that python doesn't take variables in the left side of equations.. So I'm confused. How can I have #arb dictionaries or lists with different names? like list1
through listn
or dict1
through dictn
.
I know this might sound stupid but I'm not good at program and terribly confused. Any suggestions would help, thanks