a=['1','2','3'] b=[int(i) for i in a] print(b) 输出为:[1, 2, 3] 转载于:https://www.cnblogs.com/zhuifeng-mayi/p/9201171.html