Write a python function to convert a list to string


Topic: Write a python function to convert a list to string

Solution

s = ['I', 'want', 4, 'apples', 'and', 18, 'bananas'] 
listToStr = ' '.join(map(str, s)) 
print(listToStr)



List all Python Programs