Python中的三元表达式(三目运算符) Python中的三元表达式(三目运算符) 04/19, 2020 东方皓 Comments 0 Comment a = 1 b = 2 h = "" h = a-b if a>b else a+b print(h)