From ad4d634ad5ff157eff5c5e9a0113e4808f06ce8c Mon Sep 17 00:00:00 2001 From: Michal Petrik Date: Sat, 14 May 2022 16:17:13 +0200 Subject: [PATCH] Update 05-common-string-and-number-errors.md --- .../05-common-string-and-number-errors.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/02-introduction-to-python/020-basic-data-types/05-common-string-and-number-errors.md b/website/content/02-introduction-to-python/020-basic-data-types/05-common-string-and-number-errors.md index 0e6e4c0..604a74a 100644 --- a/website/content/02-introduction-to-python/020-basic-data-types/05-common-string-and-number-errors.md +++ b/website/content/02-introduction-to-python/020-basic-data-types/05-common-string-and-number-errors.md @@ -62,11 +62,11 @@ In the REPL: 3 Three ``` -In the second scenario, you'd like to a convert a number that's contained in a string (ex: `"3"`) into an Integer, so you can use it like any other number. In this case, you'd like to convert it to an Integer, with the `int()` method. +In the second scenario, you'd like to convert a number that's contained in a string (ex: `"3"`) into an Integer, so you can use it like any other number. In this case, you'd like to convert it to an Integer, with the `int()` method. In the REPL: ```python >>> str_num = "3" >>> print(int(str_num) + 5) 8 -``` \ No newline at end of file +```