Answers for "python map string to int"

0

python map string to int

T1 = ['13', '17', '18', '21', '32']
T3 = list(map(int, T1))
T3
[13, 17, 18, 21, 32]
Posted by: Guest on April-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language