[ad_1]
You need to split and rejoin it.
finallist = [ ", ".join(item.split(" ")) for item in mylist ]
[ad_2]
solved How do I add a comma after each word in a list with a single long string of words in Python?
[ad_1]
You need to split and rejoin it.
finallist = [ ", ".join(item.split(" ")) for item in mylist ]
[ad_2]
solved How do I add a comma after each word in a list with a single long string of words in Python?