First off don't use multiplication . It's creates 2 lists, not 7001. To better show this, hop into IDLE: >>> a = [[0] * 3] * 3 >>> a [[0, 0, ...
確定! 回上一頁