From 91bcbda3db94c9e1643625a56b5914c0e48ee97a Mon Sep 17 00:00:00 2001 From: Mo8it Date: Mon, 28 Mar 2022 09:25:08 +0200 Subject: [PATCH] Fix further typos --- Day_1/Day_1.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Day_1/Day_1.jl b/Day_1/Day_1.jl index 967703f..9f181bf 100644 --- a/Day_1/Day_1.jl +++ b/Day_1/Day_1.jl @@ -145,7 +145,7 @@ There is a useful syntax to update the value of a variable using an operator act # ╔═╡ cf08cc65-7a9e-490d-b7e6-eecf6a1d9977 md""" -From now on, blocks will be used sometimes when manipulating a varialbe to prevent dependency on execution order in the notebooks. +From now on, blocks will be used sometimes when manipulating a variable to prevent dependency on execution order in the notebooks. A block starts with `begin` and ends with `end`. Code in the block should be indented. @@ -710,7 +710,7 @@ end # ╔═╡ 544368b2-3e39-41e7-97ea-e2bbf44a7749 md""" -`elseif` checks for further conditions if the conditions before it were `false`. If the condition is `true`, then the code indentet under it is executed and `else` is ignored. Otherwise, the next `elseif` is checked or `else` is executed if no `elseif` is left. +`elseif` checks for further conditions if the conditions before it were `false`. If the condition is `true`, then the code indented under it is executed and `else` is ignored. Otherwise, the next `elseif` is checked or `else` is executed if no `elseif` is left. Sounds complicated. It is best explained with an example. """ @@ -1083,7 +1083,7 @@ fill(42, (2, 2, 3)) md""" ## Range -While using `for` loops, we used a synatax like the following: +While using `for` loops, we used a syntax like the following: for i in 1:4