Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to put space in between list item in python

lst = ['a', 'bb', 'c']  
lst = [' ' + x + ' ' for x in lst]
 
PREVIOUS NEXT
Tagged: #put #space #list #item #python
ADD COMMENT
Topic
Name
1+4 =