names = ["Sam", "Peter", "James", "Julian", "Ann"] print(", ".join(names)) #OR names = ["Sam", "Peter", "James", "Julian", "Ann"] print(*names, sep=", ")
print(', '.join(names))