eightHundreds
11/4/2016 - 1:14 AM

初始化多维数组

初始化多维数组

max_array=[[] for i in range(3)]#3 row 2 col
for i in self.max_array:
    i.extend([j for j in range(2)])