def populate(self, amount): for i in range(0, amount): x = Character() x.setRandomSkills() x.setRandomStats() self.__population.append(x)