[Tutor] Assembling multiple strings into one

Kent Johnson kent37 at tds.net
Wed May 9 22:48:30 CEST 2007

Alan Gilfoy wrote:
> I have a program producing a list of multiple strings.
> The amount of strings in the list varies.
> I want to assemble a string that is:
> list item 0 + space + list item 1 + space,
> and so on, going through every string in the list.

' '.join(myList)


More information about the Tutor mailing list