str转换成int

a='123'
print(type(a))
b=int(a)
print(type(b))
原文地址:https://www.cnblogs.com/wfl9310/p/8693227.html