join an array of strings by its individual elements in python code example
Example 1: Concatenate Item in list to strings
>>> sentence = ['this','is','a','sentence']
>>> '-'.join(sentence)
'this-is-a-sentence'
Example 2: join function in python
"seperator".join(list/tuple)