+ 2
[solved ] Explain converse implication operator in python
>>> False ** False == True True >>> False ** True == False True >>> True ** False == True True >>> True ** True == True True
1 Respuesta
+ 8
** has higher operator precedence than ==
false **false is evaluated as 0**0=>1
false**true id evaluated as 0**1=>0
true**false is evaluated as 1**0
1
true**true is evaluated as 1**1=>1