摘要: 一.高级函数1.把一个函数名当作实参传给另一个函数2.返回值包含函数名>>> def bar():... print ("in the bar")... >>> def foo(func):... res=func()... return res... >>> foo(bar)in the bar 阅读全文
posted @ 2016-08-19 08:03 任红阳 阅读(209) 评论(1) 推荐(1) 编辑