Source Code:
(back to article)
if all(var == 5 for var in (a, b, c)): print("All variables are equal to 5") else: print("Variables are not equal to 5")
Result:
Report an issue