Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Remove Brackets from List Using join method with loop

inp_list=["1","2","3","4","5","a"]
print("Original list",inp_list)
out_list=(','.join(str(a)for a in inp_list))
print("After removing bracket",out_list)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Remove #Brackets #List #Using #join #method #loop
ADD COMMENT
Topic
Name
7+1 =