python 基础学习

发布时间:2019-07-04 09:58:06编辑:auto阅读(1248)

    #此代码关于python函数调用的理解学习
    #还不明白这段代码如何实现调用的!!!
    def apply_twice(func, arg):
    return func(func(arg))

    def add_five(x):
    return x + 5

    print(apply_twice(add_five, 10))

关键字