python change type of elements in list

104

list(map(int, ['1','2','3'])) # => [1,2,3]

Comments

Submit
0 Comments