三元运算

 

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

 

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