Combining a list of strings into a single string

PHOTO EMBED

Mon Mar 08 2021 22:23:59 GMT+0000 (Coordinated Universal Time)

Saved by @randomize_first #python

list_of_strings = ['My', 'name', 'is', 'Chaitanya', 'Baweja']

# Using join with the comma separator
print(','.join(list_of_strings))

# Output
# My,name,is,Chaitanya,Baweja
content_copyCOPY