3-1-5-13. Handling Errors
Here, the code in the except block occurs when any kind of exception occurs while executing the try block. Really though we just want to adjust the ValueError exception. If I try to exit the program with Ctrl C, it doesn’t stop the program because the except handles any error, including the KeyboardInterrupt error. We … Read more
댓글을 달려면 로그인해야 합니다.