条件执行的表达式if条件else 条件不成立执行的表达式
a=1b=2c=a if a>b else bprint(c)
a=1
b=2
c=a if a>b else b
print(c)
若有收获,就点个赞吧
0 人点赞
让时间为你证明