Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

join function

a="grayorphanvillain"
for k in "|/":
    t=k.join(a)
    print(t)
#output:
g
ayo
pha
villai

g|r|a|y|o|r|p|h|a|n|v|i|l|l|a|i|n
g/r/a/y/o/r/p/h/a/n/v/i/l/l/a/i/n
 
PREVIOUS NEXT
Tagged: #join #function
ADD COMMENT
Topic
Name
8+3 =