map['battery_park'] = {} map['battery_park']['brooklyn_bridge'] = None map['east_river'] = {} map['east_river']['brooklyn_bridge'] = None map['brooklyn_bridge'] = {} map['brooklyn_bridge']['one_world_trade_center'] = None # the finish node does not have any neighbors map['one_world_trade_center'] = {} map_engine = Maps(map) # determining time between places map_engine.determine_time() print('\nNotifications:\n') for n in map_engine.notifications: print(n) # printing out choice table print('\nChoice Table\n') for k in map_engine.choice_table.keys(): print('{k} : {v}'.format(k=k, v=map_engine.choice_table[k])) # Getting user input (origin and destination) print('\nUse the numbers above to indicate your origin and destination\n') origin = input('Please type the number for your origin (0 - 7)\n') destination = input('Please type the number for destination (0 - 7)\n')