python list to string with brackets code example
Example 1: python list to string without brackets
names = ["Sam", "Peter", "James", "Julian", "Ann"]
print(", ".join(names))
#OR
names = ["Sam", "Peter", "James", "Julian", "Ann"]
print(*names, sep=", ")
Example 2: python list to string without brackets
print(', '.join(names))