From 6c4b90afafc7062ed652c07b8997d8654aadfa32 Mon Sep 17 00:00:00 2001 From: oloev <38259470+oloev@users.noreply.github.com> Date: Mon, 18 Sep 2023 23:35:55 +0300 Subject: [PATCH] Update 3-errors.md fixed typo --- data/part-6/3-errors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/part-6/3-errors.md b/data/part-6/3-errors.md index 4b361f2d9..200009395 100644 --- a/data/part-6/3-errors.md +++ b/data/part-6/3-errors.md @@ -74,7 +74,7 @@ The `int` function is unable to parse the input string `twenty-three` as a valid Errors that occur while the program is already running are called _exceptions_. It is possible to prepare for exceptions, and handle them so that the execution continues despite them occurring. -Exception handling in Python is accomplished with `try` and `except` statements. The idea is that if something within a `try` block causes an exception, Python checks if there is a corresponding `except` block. If such a block exists, it is executed and the program themn continues as if nothing happened. +Exception handling in Python is accomplished with `try` and `except` statements. The idea is that if something within a `try` block causes an exception, Python checks if there is a corresponding `except` block. If such a block exists, it is executed and the program then continues as if nothing happened. Let's change the above example so that the program is prepared for the `ValueError` exception: