Python Program to convert list to string
# Python program to convert a list to a string by using the join() method
# Creating a list with elements of string data type
a_list = ["Python", "Convert", "List", "String", "Method"]
# Converting to string
string = " ".join( a_list ) # this is read as join elements of a_list with a separator (" ")
# Printing the string
print (string)
print (type(string))
Output:
Python Convert List String Method
<class 'str'>
