> Marc> join(seq,sep) := reduce(lambda x,y: x + sep + y, seq) > > Of course, while it will always yield what you ask for, it might not always > yield what you expect: > > >>> seq = [1,2,3] > >>> sep = 5 > >>> reduce(lambda x,y: x + sep + y, seq) > 16 not to mention: >>> print join([], " ") TypeError: reduce of empty sequence with no initial value ... </F>