I guess at line 03, l1 = [2, 3], l1 is pointing to a new List already (very bad variable name btw, h ...
CVSDF 發表於 2019-10-21 20:11

正解,
另外樓主可以上呢個網試吓你段code,睇吓每一行code執行的情況。
http://www.pythontutor.com/visualize.html#mode=edit

TOP