Python Program to convert a list of characters into a string
In this program, You will learn how to convert a list of characters into a string in Python.
data = ['X', 'i', 'i', 't', 'h', '.', 'c', 'o', 'm']
Example: How to convert a list of characters into a string in Python
data = ['X', 'i', 'i', 't', 'h', '.', 'c', 'o', 'm']
str = ""
for i in data:
str = str + i
print(str)
Output:
Xiith.com