python if else的简写

20221111

c = a if a>b else b

Reference:
[1] https://blog.csdn.net/zm429438709/article/details/80213414

posted @ 2022-12-11 20:20  xiaoxuxli  阅读(35)  评论(0)    收藏  举报