Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert list of strings to ints python

test_list = ['1', '4', '3', '6', '7'] 

int_list = [int(i) for i in test_list]
 
PREVIOUS NEXT
Tagged: #convert #list #strings #ints #python
ADD COMMENT
Topic
Name
3+9 =