Python - Operators and Expression Evaluation
What is the output of the following code?
print((5 > 3) and (2 == 2) or not (4 < 1))
print((5 > 3) and (2 == 2) or not (4 < 1))
5 > 3 is True, 2 == 2 is True, 4 < 1 is False.(5 > 3) and (2 == 2) is True and True = True.not (4 < 1) is not False = True.True or True = True.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions