Nishant Gautam <ng29...@gmail.com> added the comment:
a = 10 b = 10 if (a >= b) & (a & b) & (a == b): print("Yes") else: print("No") Output: No This is the bug because all then condition in if is true but it print No, This is the vulnerability of this code. ---------- resolution: not a bug -> status: closed -> open versions: +Python 3.6, Python 3.7, Python 3.9 Added file: https://bugs.python.org/file49662/main.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com