Name

join

Synopsis

                     s.join(seq)

Returns the string obtained by concatenating the items of seq, which must be a sequence of strings, and interposing a copy of s between each pair of items (e.g., ''.join([str(x) for x in range(7)]) is '0123456').

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.