Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Remove Brackets from List Using for loop

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