示例#1
0
文件: 1.py 项目: Rezenter/Python
def main():

    b = sys.argv[1:]
    a = []
    for i in b:
        a.append(int(i))
    print(f.myreduce(lambda x, y: x + y, a) + a[0])
示例#2
0
文件: 2.py 项目: Rezenter/Python
def main():

    b = sys.argv[1:]
    a = []
    for i in b:
        a.append(int(i))
    print(functional.myreduce())