I would like to create several instances of a Class, I tried to make a for loop to name them differently. Something like this, which doesn't work because the instance name is not supposed to be a string:
class A:
    pass
for i in range(10):
    "a"+str(i) = A()
Here the result I expect is 10 instances of the class A named: a0, a1, ... , a9.
How should I do?
 
     
    