# example of join() function in python
numList = ['1', '2', '3', '4']
separator = ', '
print(separator.join(numList))
# use of join function to join list
# elements without any separator.
# Joining with empty separator
list1 = ['g','e','e','k', 's']
print("".join(list1))
#Output:
geeks
w=["as","3e","1"]
a='vf'.join(w)
// w neccessarily needs to be a list of strings.
print(a)
//displays string asvf3evf1
"seperator".join(list/tuple)
numList = ['1', '2', '3', '4']
separator = ', '
print(separator.join(numList))