Posts

Showing posts with the label Join Function

Python tutorial 32 --- "Join Function in Python"

Python tutorial 32 --- "Join Function in Python" We are all familiar with the word join and it's meaning i.e., to combine. Join has nearly the same meaning in Python, as it is used to join the elements of a list, tuple, set, etc. In this article, we will learn about the join() method and how to use it. In Python, join() is a function that is used with iterables like list, dictionaries, and string. Examples are also mentioned below so you may learn how to use join() function. If you do not know what iterables are, then check our tutorials on  Python Lists And List Functions ,  Dictionary & It's Functions and   String Slicing And Other Functions  to get the basic idea about iterables. What is the join method in Python? "Join is a function in Python, that returns a string by joining the elements of an iterable, using a string or character of our choice." In the case of join function, the iterable can be a list, dictionary, set, tuple, or even a string itsel...