from Zone import Zone def loadZones(): zones = [] for i in range(12): zones.append(Zone(i+1, "Zone " + str(i+1), 90, 10, True, False)) return zones if __name__ == "__main__": zones = loadZones() for zone in zones: print(zone.name)