只需在字符串前面写上'+'号 > '100' "100" > +'100' 100 > a = '100' "100" >a "100" >+a 100 转载于:https://www.cnblogs.com/vuuvv/p/3796871.html