Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert all items in list to string python

map(str, mylist)
#python 3+ map( ) doesn't output a list, which is why:
list(map(str, mylist)
#change 'str' to 'float' or 'int' for other outcomes
 
PREVIOUS NEXT
Tagged: #convert #items #list #string #python
ADD COMMENT
Topic
Name
2+5 =