[issue42933] OUTPUT WRONG

Christian Heimes report at bugs.python.org
Fri Jan 15 03:47:03 EST 2021


Christian Heimes <lists at cheimes.de> added the comment:

"No" is the correct output for your code example. Your code does not raise an exception, therefore the else block is executed.

Please don't use the bug tracker to get assistance with learning Python. There are community resources like chat and forums dedicated to that, https://www.python.org/community/

----------
nosy: +christian.heimes
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: security -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42933>
_______________________________________


More information about the Python-bugs-list mailing list