Tiny python code I dont understand

ast nomail at invalid.com
Tue Mar 8 11:23:35 EST 2016


Hello

>>> lst = [(1,2,3), (4, 5,6)]
>>> sum(lst, ())
(1, 2, 3, 4, 5, 6)

Any explanations ?
thx



More information about the Python-list mailing list