S
sdhyok
I think the two script should produce the same results, but not.
Why?
---------------- Script #1
ls = [1]
ls.extend([2,3])
print ls
-> [1,2,3]
--------------- Script #2
ls = [1].extend([2,3])
print ls
-> None
Daehyok
Why?
---------------- Script #1
ls = [1]
ls.extend([2,3])
print ls
-> [1,2,3]
--------------- Script #2
ls = [1].extend([2,3])
print ls
-> None
Daehyok