摘要: filterdef not_empty(s): return s and s.strip() t1 =list(filter(not_empty,['a','','b','c ',''])) print(t1) 阅读全文
posted @ 2017-05-09 15:59 alan730 阅读(128) 评论(0) 推荐(0)