Alex Kleider<aklei...@sonic.net> wrote:
On 2013-11-06 01:52, Oscar Benjamin wrote:
>
> I'll give one suggestion which is that to concatenate one list onto
> the end of another you would use the .extend() method rather than the
> .append() method.
What would be the advantage/disadvantage of what you suggest vs using
the plus (+) operand as in
l = l1 + l2
??
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
The plus operator doesn't append to the list; it makes a new one. Doesn't meet
spec.
--
Android Usenet Reader
http://android.newsgroupstats.hk
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor