10000 Minor changes to 003 and 005 · hydroffice/python_basics@35de208 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35de208

Browse files
author
giumas
committed
Minor changes to 003 and 005
1 parent df51285 commit 35de208

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

003_Conditional_Execution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"| -------- | ------------------------------------------------------------------- |\n",
222222
"| `and` | `True` if both the operands are `True`. Otherwise, `False`. |\n",
223223
"| `or` | `True` if either of the operands are `True`. Otherwise, `False`. |\n",
224-
"| `not` | `True` if the following operand is `False`. Othersiwe, `False`. |"
224+
"| `not` | `True` if the following operand is `False`. Otherwise, `False`. |"
225225
]
226226
},
227227
{

005_Write_Your_Own_Functions.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
"source": [
221221
"<img align=\"left\" width=\"6%\" style=\"padding-right:10px;\" src=\"images/key.png\">\n",
222222
"\n",
223-
"The **parameters** are used to define the values that can be passed into a function."
223+
"**Parameters** are used to define the values that can be passed into a function."
224224
]
225225
},
226226
{
@@ -243,7 +243,7 @@
243243
"cell_type": "markdown",
244244
"metadata": {},
245245
"source": [
246-
"We first add the `sal_list` argument so that you can pass *any* salinity list to the function:"
246+
"We first add the `sal_list` parameter so that you can pass *any* salinity list to the function:"
247247
]
248248
},
249249
{
@@ -257,6 +257,13 @@
257257
" print(\"Nr. of elements: \" + str(len_sal_list))"
258258
]
259259
},
260+
{
261+
"cell_type": "markdown",
262+
"metadata": {},
263+
"source": [
264+
"The `sal_list` parameter identifies the local variable name for the value passed to the function."
265+
]
266+
},
260267
{
261268
"cell_type": "markdown",
262269
"metadata": {},

0 commit comments

Comments
 (0)
0