On Mon, Jul 31, 2017 at 11:06:18PM -0700, ramakrishna reddy wrote:

> > sum([[1,2,3], [3,4,5]], []) returns [1, 2, 3, 3, 4, 5]

[] + [1,2,3] + [3,4,5]

returns [1, 2, 3, 3, 4, 5].


-- 
Steve
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to