3 ms·
Excellent point. You could redo the test without this error by reassigning l1 inside the loop: for i in xrange(big): l1 = [i] l1 += l2 for i i
by thaumasiotes 5y ago
Excellent point. You could redo the test without this error by reassigning l1 inside the loop:
for i in xrange(big):
l1 = [i]
l1 += l2
for i in xrange(big):
l1 = [i]
l1 = l1 + l2