Answers for "pyhon ocnvert array of char to string"

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

Python Answers by Framework

Browse Popular Code Answers by Language