为什么在定义函数lazy_sum()时没有写参数lst?
def calc_sum(lst):
def lazy_sum(): #为什么在定义函数lazy_sum()时没有写参数lst
return sum(lst)
return lazy_sum
def calc_sum(lst):
def lazy_sum(): #为什么在定义函数lazy_sum()时没有写参数lst
return sum(lst)
return lazy_sum
2018-01-15
举报