可能重复: 如何在python中将字符串转换为整数?
我需要将字符串列表更改为整数列表我该怎么做
即
('1','1','1','1','2')进入(1,1,1,1,2).
python string integer
integer ×1
python ×1
string ×1