Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print a list without brackets and commas python

#How to remove brackets and commas from a list (Python)

#Converts list to a string, strips brackets from new string, then replaces all apostrophes with empty spaces
print(str(listData).strip('[]').replace(''', ''))
 
PREVIOUS NEXT
Tagged: #print #list #brackets #commas #python
ADD COMMENT
Topic
Name
7+4 =