三元运算

 

a,b=2,3
c=22 if a<b else print(11)
print(c)

 

posted @ 2018-11-04 22:15  Operater  阅读(149)  评论(0编辑  收藏  举报