From c1cdf4c2d8710fef50cdcaa71bfcb80ddec635bd Mon Sep 17 00:00:00 2001 From: Guillaume Jacquenot Date: Thu, 31 Jul 2025 22:46:45 +0200 Subject: [PATCH] Update functional_programming_style.ipynb --- .../functional-programming/functional_programming_style.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source-code/functional-programming/functional_programming_style.ipynb b/source-code/functional-programming/functional_programming_style.ipynb index e1b29c7..eae5c7b 100644 --- a/source-code/functional-programming/functional_programming_style.ipynb +++ b/source-code/functional-programming/functional_programming_style.ipynb @@ -238,7 +238,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "When using the `map` function, a common tasks is to do a computation involving a specific object attribute. Consider the data class `Person`. You would like to compute the average age of people in a list." + "When using the `map` function, a common task is to do a computation involving a specific object attribute. Consider the data class `Person`. You would like to compute the average age of people in a list." ] }, { @@ -298,7 +298,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "However, this is such a common pattern that the Python standard library has a function for it. This function also has the advantage that the attribute to be extracted is specified as a string, and hcnce can be computed." + "However, this is such a common pattern that the Python standard library has a function for it. This function also has the advantage that the attribute to be extracted is specified as a string, and hence can be computed." ] }, {