Python Module 07 05 Error Handling

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

The "value error" is occurring outside the "Try/Except" block when Python tries to convert a character to an integer, hence the seemingly abnormal behavior described in this video. If either the whole "input" statement retrieving the submission by the user would be moved inside the "try/except" block, or simply the attempted conversion from the entered string to an integer type, the "value error" would have been caught as the instructor expected.

scottlipp
visit shbcf.ru