Source Code:
(back to article)
x = 2 if x > 3: print("x is greater than 3") else: print("x is less than or equal to 3")
Result:
Report an issue