摘要: lst = [1, 2, 3] if lst: #如果列表不为空,True,条件成立,如果为空,False,条件不成立,执行else pass else: pass 阅读全文
posted @ 2018-09-05 18:00 SuraSun 阅读(3277) 评论(0) 推荐(0) 编辑