#三元运算又叫做三目运算
a = 1
b = 2
c = True if a > b else Flase #这里是如果‘a’大于‘b’就把‘True赋值给c’ 否则就把 False给‘c’
print(c)