On Fri, Dec 16, 2011 at 11:57 AM, Terry Reedy <tjre...@udel.edu> wrote: > items[-1] = "and " + items[-1] > return ", ".join(items)
This works only if you're sure there are at least two items, and if you don't mind two items coming out as "a, and b". ChrisA -- http://mail.python.org/mailman/listinfo/python-list