so let's say there is a class A
and I can create instances of class A as follow
inst1 = A()
inst2 = A()
inst3 = A()
...
Can I do this job more neatly?
I have to create the instances as many as a certain number that is given by a server (the number can vary every time).
I'm expecting to do something like
for NUM in range(2):
inst + NUM = A()
then the instances I want to get as a result would be three instances (inst0, inst1, inst2) that are class A.
Thank you in advance