Christian Heimes <li...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42933>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to