Source Code:
(back to article)
x = 8 print("The value of x is " + ("greater than 5" if x > 5 else "less than or equal to 5"))
Result:
Report an issue