From 71fd8cad7264d0c25e13705f71f2d87348bcef3f Mon Sep 17 00:00:00 2001 From: Noorts <50550612+Noorts@users.noreply.github.com> Date: Fri, 8 Sep 2023 11:51:40 +0200 Subject: [PATCH] Improve `julia_basics.ipynb` --- notebooks/julia_basics.ipynb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/notebooks/julia_basics.ipynb b/notebooks/julia_basics.ipynb index 35fd9a6..7d88bc5 100644 --- a/notebooks/julia_basics.ipynb +++ b/notebooks/julia_basics.ipynb @@ -43,9 +43,9 @@ "Tip: Did you know that Jupyter stands for Julia, Python and R?\n", "\n", "\n", - "### How to start a Jupyter nootebook in Julia\n", + "### How to start a Jupyter notebook in Julia\n", "\n", - "To run a Julia Jupyther notebook, open a Julia REPL and type\n", + "To run a Julia Jupyter notebook, open a Julia REPL and type\n", "\n", "```julia\n", "julia> ]\n", @@ -449,7 +449,7 @@ "source": [ "\n", "
\n", - "Question: Which will be the value of `x` in the last line ? (Think your answer before executing next cell to find out the result) \n", + "Question: What will be the value of `x` in the last line ? (Think your answer before executing next cell to find out the result) \n", "
\n", "\n" ] @@ -478,7 +478,7 @@ "\n", "### Defining functions\n", "\n", - "Functions are defined as shown in next cell. The closing `end` is necessary. Do to forget it! However, the `return` is optional. The value of last line is returned by default. Indentation is recommended, but it is also optional. That's why the closing `end` is needed." + "Functions are defined as shown in next cell. The closing `end` is necessary. Do not forget it! However, the `return` is optional. The value of last line is returned by default. Indentation is recommended, but it is also optional. That's why the closing `end` is needed." ] }, { @@ -538,7 +538,7 @@ "id": "e4ca76a4", "metadata": {}, "source": [ - "Mathematical operators can also be broadcasted (like in Matlab). The following cell won't work. If we want to multiply element by element, we can use the broadcasted version below." + "Mathematical operators can also be broadcasted (like in Matlab). Multiplying the vectors `a * b` directly won't work. If we want to multiply element by element, we can use the broadcasted version below." ] }, { @@ -557,7 +557,7 @@ "metadata": {}, "source": [ "
\n", - "Question: Which will be the value of `x` in the last line ?\n", + "Question: What will be the value of `x` in the last line ?\n", "
\n" ] }, @@ -1300,7 +1300,7 @@ "source": [ "### Arrays of any element type\n", "\n", - "Arrays of fixed element type seem to be very rigid, right? Python list have not this limitation. However, we can use arrays of `Any` type, which are as flexible as Python lists, or even more since they can also contain functions. " + "Arrays of fixed element type seem to be very rigid, right? Python list do not this limitation. However, we can use arrays of the `Any` type, which are as flexible as Python lists, or even more since they can also contain functions. " ] }, {