3.1python运算

还有个关系运算待补充

三元运算:

= a1 if bool else a2

 其他语言
= if bool?a1:a2 

posted on 2016-11-21 11:45  limpidstar  阅读(60)  评论(0)    收藏  举报

导航