a = 5
b =4
c = a if a > b else b # Ternary expression (if a is greater than b, c = a, otherwise c = b)
equivalent
# if a > b:
# c = a
# else:
# c = b
print(c)
a = 5
b =4
c = a if a > b else b # Ternary expression (if a is greater than b, c = a, otherwise c = b)
equivalent
# if a > b:
# c = a
# else:
# c = b
print(c)