status='已交' if status else '未交'#三元表达式等价于:# if status:# status='已交'# else:# status='未交'
posted on 2018-08-02 23:06 smileBB 阅读(103) 评论(0) 编辑 收藏 举报