Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python map string to int

T1 = ['13', '17', '18', '21', '32']
T3 = list(map(int, T1))
T3
[13, 17, 18, 21, 32]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #map #string #int
ADD COMMENT
Topic
Name
2+5 =