1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/julia_course.git synced 2024-11-16 13:28:10 +00:00

Fix further typos

This commit is contained in:
Mo8it 2022-03-28 09:25:08 +02:00
parent 81f5f3cd40
commit 91bcbda3db

View file

@ -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 # ╔═╡ cf08cc65-7a9e-490d-b7e6-eecf6a1d9977
md""" 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. 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 # ╔═╡ 544368b2-3e39-41e7-97ea-e2bbf44a7749
md""" 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. Sounds complicated. It is best explained with an example.
""" """
@ -1083,7 +1083,7 @@ fill(42, (2, 2, 3))
md""" md"""
## Range ## 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 for i in 1:4