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=", ")

Here is what the above code is Doing:
1. The print() function takes a variable number of arguments.
2. The * operator is used to unpack the list into individual arguments.
3. The print() function takes a keyword argument sep that specifies the separator between the arguments.
4. The default separator is a space.
5. The print() function calls str.join() to join the arguments with the specified separator.
6. The str.join() method returns a string in which the string elements of sequence have been joined by str separator.
7. The print() function prints the string returned by str.join().