Answers for "how to join python list with char"

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