I have a list in Python e.g.
names = [\"Sam\", \"Peter\", \"James\", \"Julian\", \"Ann\"]
I want to print the array in a single line withou
print(', '.join(names))
This, like it sounds, just takes all the elements of the list and joins them with ', '.
', '