New submission from Kshitish <nishantgautam...@gmail.com>:

print (5 + 2 == 7 and 10 <= 1232 and 100 ^ 1000 >= 128) # Incorrect 

  Output: True

This argument should be false but it prints true. This is the logical error 
vulnerability. Try this code in another language too. You find out they print 
false because the argument is false but unfortunately Python prints true. 
Because Python does not understand this.

----------
components: Windows
files: main.py
messages: 382216
nosy: blue555, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Error Message
versions: Python 3.8
Added file: https://bugs.python.org/file49640/main.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42518>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to