Python 如何建立2維空數組

http://blog.csdn.net/yockie/article/details/46127829html myList = [ ( [0] * 3 ) for i in range(4) ]app >>> lists = [[] for i in range(3)] post >>> lists[0].append(3)spa >>> lists[1].append(5).net >>>
相關文章
相關標籤/搜索