def createInitialPop(popSize): ls = [] for _ in range(popSize): c = Coordinator() c.initalize() ls.append(c) return ls