create list `instancelist` containing 29 objects of type myclass,instancelist = [MyClass() for i in range(29)]