Python不使用int()函数把字符串转换为数字 2018年05月21日 14:18:45 边缘ob边缘ob 阅读数:1035 https://blog.csdn.net/qq_33192555/article/details/80391554 方法一:利用str函数 既然不能用int函数,那我们就反其道而行,用str函数找出每一位字符表示的数字大写. def atoi(s): s = s[::-1] num = 0 for i, v in enumerate(s): for j in r
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; class test { { Console.WriteLine("1:__" + "Method调用成功!"); } { Console.WriteLine("2:__" + str); } { string classNam