- 3. Py Filling: Lists, Tuples, Dictionaries, and Sets
- from Introducing Python
- Publisher: O'Reilly Media, Inc.
- Released: November 2014
join() is opposite to split() and both are methods on string objects
It must be noted that join can only be used if the list (or the iterable) solely contains strings. If any other data types were present such as floats or integers-you end up with a TypeError
Share this highlighthttp://www.safaribooksonline.com/a/introducing-python/10011832/