From 3b087c53640cbf946a24724641e57d4ad6991d6b Mon Sep 17 00:00:00 2001 From: Domantas Petrauskas Date: Mon, 18 Sep 2017 01:12:54 +0200 Subject: [PATCH 1/2] Fix typo decimnals -> decimals --- notebooks/numerical-computing-is-fun-1.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/numerical-computing-is-fun-1.ipynb b/notebooks/numerical-computing-is-fun-1.ipynb index b9f322f..eb6e428 100644 --- a/notebooks/numerical-computing-is-fun-1.ipynb +++ b/notebooks/numerical-computing-is-fun-1.ipynb @@ -359,7 +359,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Ah, that's better. Why we get the surprising result in the first example, is because both of the numbers are ints and ints do not have the property of adding decimnals. Only float know how to do this. Python makes this easy for us to handle; as long as we add the decimal ourselves, Python will assume the numbers as floats and perform the operation accordingly. Floats are also called 'floating point' and ints are called 'integers'. It's enough to get a floating point product if just one value in an equation is a float. Let's try a few examples to highlight this." + "Ah, that's better. Why we get the surprising result in the first example, is because both of the numbers are ints and ints do not have the property of adding decimals. Only float know how to do this. Python makes this easy for us to handle; as long as we add the decimal ourselves, Python will assume the numbers as floats and perform the operation accordingly. Floats are also called 'floating point' and ints are called 'integers'. It's enough to get a floating point product if just one value in an equation is a float. Let's try a few examples to highlight this." ] }, { From 7b792789f953b6d0e94a0c28b7fba3ef8f79e6a7 Mon Sep 17 00:00:00 2001 From: Domantas Petrauskas Date: Mon, 18 Sep 2017 01:24:56 +0200 Subject: [PATCH 2/2] Fix typo somethign -> something --- notebooks/numerical-computing-is-fun-1.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/numerical-computing-is-fun-1.ipynb b/notebooks/numerical-computing-is-fun-1.ipynb index eb6e428..ce9b146 100644 --- a/notebooks/numerical-computing-is-fun-1.ipynb +++ b/notebooks/numerical-computing-is-fun-1.ipynb @@ -619,7 +619,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "As you can see, we have slightly changed the way the function is defined. Now instead of having empty parenthesis following the name of the function, we are declaring data in there. This way data becomes a 'parameter' also called 'argument', which is really just a fancy word for somethign we input to the function, so the function can process it. Let's try it first..." + "As you can see, we have slightly changed the way the function is defined. Now instead of having empty parenthesis following the name of the function, we are declaring data in there. This way data becomes a 'parameter' also called 'argument', which is really just a fancy word for something we input to the function, so the function can process it. Let's try it first..." ] }, {