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 >>>
相关文章
相关标签/搜索