What would be your preferred way to concatenate strings from a sequence such that between every two consecutive pairs a comma is added. That is, how do you map, for instance
l=['a', 1, 'b', 2] print str(l)[1:-1] Output: "'a', 1, 'b', 2"