Answers for "how read list without end python"

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=", ")
Posted by: Guest on January-25-2021
1

python list to string without brackets

print(', '.join(names))
Posted by: Guest on November-02-2020

Code answers related to "how read list without end python"

Python Answers by Framework

Browse Popular Code Answers by Language