[issue42460] Wrong Output

2020-11-25 Thread Steven D'Aprano
Steven D'Aprano added the comment: Correct output. https://docs.python.org/3/reference/expressions.html#operator-precedence a = 10 b = 10 (a >= 10) and not (b == 10) | 7+2 == 9 returns False because of operator precedence. It evaluates like this: (a >= 10) and not (b == 10) | 7+2 == 9 -->

[issue42460] Wrong Output

2020-11-25 Thread Nishant Gautam
Change by Nishant Gautam : Added file: https://bugs.python.org/file49620/Logic.jpg ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42460] Wrong Output

2020-11-25 Thread Nishant Gautam
New submission from Nishant Gautam : The python give wrong output -- files: PROOF.jpg messages: 381806 nosy: Kshitish priority: normal severity: normal status: open title: Wrong Output type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file49619/PROOF.jpg