结果显示问题
def is_not_empty(s):
return s and len(s.strip())>0
filter(is_not_empty,['test',None,'','str','','END'])
运行结果为什么是按任意键继续呢?
def is_not_empty(s):
return s and len(s.strip())>0
filter(is_not_empty,['test',None,'','str','','END'])
运行结果为什么是按任意键继续呢?
2017-01-29
举报