Answers for "python create string from list of chars"

3

how to join a list of characters in python

>>> a = ['a', 'b', 'c', 'd']
>>> ''.join(a)
'abcd'
Posted by: Guest on September-10-2020

Code answers related to "python create string from list of chars"

Python Answers by Framework

Browse Popular Code Answers by Language