Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

join function in python

# 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
 
PREVIOUS NEXT
Tagged: #join #function #python
ADD COMMENT
Topic
Name
3+8 =