concat all elements in a list of strings code example
Example 1: Concatenate Item in list to strings
>>> sentence = ['this','is','a','sentence']
>>> '-'.join(sentence)
'this-is-a-sentence'
Example 2: concatenate list of strings python
listvalues = ['a', 'b', 'c']
concstring = ''.join(l)