ID EN
Built-in Types

join

Python 3.11

Return a string which is the concatenation of the strings in iterable. A TypeError will be raised if there are any non-string values in iterable, including bytes objects. The separator between elements is the string providing this method.

Syntax

PYTHON
str.join(iterable)

See Also

TypeError bytes