Use sumwith two arguments, a list of lists, and an empty list to add:
>>> sum(a, [])
[1, 2, 23, 51, 6, 'Hi', 'hello']
what really is a special case reduce:
>>> reduce(list.__add__, a)
[1, 2, 23, 51, 6, 'Hi', 'hello']
, , Guido reduce Python 3 , ( ). sum , reduce . Python 3 reduce.
, itertools.chain, , . list, :
>>> import itertools
>>> list(itertools.chain(*a))
[1, 2, 23, 51, 6, 'Hi', 'hello']