+ 1

print(False == (False or True))

what is meant by this

10th Jun 2018, 4:37 PM
Karthik
Karthik - avatar
2 Respuestas
+ 4
It means according to the precedence of operator, the given expression executes. 1. False or true will evaluate because they are inside a parentheses. The result will be true. 2. Then False==True will be evaluated and results False.
10th Jun 2018, 4:45 PM
Sachin Artani
Sachin Artani - avatar
+ 1
thank u bro
10th Jun 2018, 4:47 PM
Karthik
Karthik - avatar