python中,函数嵌套函数该如何调用?
示例:
# -*- coding: utf-8 -*- """ @author: 11212 """ def foo(): name = 'sdas' def bar(): name = 'asdf' print name def tt(): print name return tt return bar foo()()()
posted on 2018-10-16 10:00 qiuqiu365 阅读(274) 评论(0) 编辑 收藏 举报