fork download
  1. land0={ 'mapName':'GO','Color_group':'0', 'List_price':'0', 'Construction_cost':'0', 'Remarks':'Starting_point'}
  2. land1={ 'mapName':'Mediterranean_Street', 'Color_group':'1', 'List_price':'60', 'Construction_cost':'50', 'Remarks':'No_information'}
  3.  
  4.  
  5. def _init_board(self):
  6. KEYS = ('name', 'color', 'list_price', 'construction_cost', 'remarks')
  7. PROPS = (('GO', 0, 0, 0, 'Starting_point', []),
  8. ('Mediterranean Street', 1, 60, 50, 'No_information', []))
  9. return map(lambda prop: dict(zip(KEYS, prop)), PROPS)
  10.  
Success #stdin #stdout 0s 23288KB
stdin
Standard input is empty
stdout
Standard output is empty