#/usr/bin/env python3 height=7 width=33 class GridSquare: def __init__(self, typ, occupant): self.typ = typ self.occupant = occupant def makeGrid(): return [[GridSquare(0, 0) for x in range(0,height)] for y in range(0,width)] class Passenger: #dest and curr are both 2-tuples def __init__(self, dest, curr): self.dest = dest self.curr = curr def GenPassList(): return [] grid=makeGrid() passengers = GenPassList() print(grid)