标签:
#if you want to initialize a 9*9 two-dimensional array [([""]*9) for i in range(9)] #caution: the follow code can‘t work [[""]*9]*9 shallow copies of list concatenated if you change one row then the prefix row will also be changed
python two-dimensional array assignment initialize
标签:
原文地址:http://www.cnblogs.com/allenhaozi/p/5060501.html