Source Code:
(back to article)
x = 1 y = 2 result = "Both are positive" if x > 0 and y > 0 else "One of them is not positive" print(result)
Result:
Report an issue