Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

2d array of strings and ints python

In [24]: l =  [['1', ' 1', ' 3'], ['2', ' 3', ' 5'], ['3'], ['4', ' 5'], ['5', ' 1'], ['6', ' 6'], ['7']]

In [25]: result = [map(int,i) for i in l]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #strings #ints #python
ADD COMMENT
Topic
Name
7+4 =