list = ['Add', 'Grepper', 'Answer']
Inline
> joined = " ".join(list)
> Add Grepper Answer
Variable
> seperator = ", "
> joined = seperator.join(list)
> Add, Grepper, Answer
''.join(list) # If you want to join with comma (,) then: ','.join(list)
s = ['KDnuggets', 'is', 'a', 'fantastic', 'resource']
print(' '.join(s))
# Output
# KDnuggets is a fantastic resource
# if you want to join list elements with something other
# than whitespace in between? This thing may be a little bit stranger,
# but also easily accomplished.
s = ['Eleven', 'Mike', 'Dustin', 'Lucas', 'Will']
print(' and '.join(s))
# Ouptut
# Eleven and Mike and Dustin and Lucas and Will