1、将一个字符串转换成整型(map和reduce) from functools import reduce def str2int(s): def char2int(ch): c = { str(x): x for x in</