Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert all numbers in list to string python

# Python code to convert list of 
# string into sorted list of integer 
    
# List initialization 
list_int = [1, 12, 15, 21, 131]
    
# mapping 
list_string = map(str, list_int) 
    
# Printing sorted list of integers 
print(list(list_string))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #convert #numbers #list #string #python
ADD COMMENT
Topic
Name
5+6 =