Write a Python program to convert a list of characters into a string. code example
Example 1: turn a string into a list of characters python
#Use the function list()
word = list(word)
Example 2: how to join a list of characters in python
>>> a = ['a', 'b', 'c', 'd']
>>> ''.join(a)
'abcd'
Example 3: how to save string characters into char array or list in python
fd = open(filename, 'rU')
chars = []
for line in fd:
chars.extend(line)