Streamline previous content

- run grammarly on all notebooks
- add section on short-circuiting in chapter 03
This commit is contained in:
Alexander Hess 2019-10-14 14:09:28 +02:00
commit dbc3a67af4
11 changed files with 1566 additions and 1377 deletions

View file

@ -324,9 +324,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Q11.5**: Using the [range()](https://docs.python.org/3/library/functions.html#func-range) built-in, write a `for`-loop and calculate the volume of a sphere with `radius = 42.0` for all `digits` from `1` through `20`. Print out each volume on a seperate line.\n",
"**Q11.5**: Using the [range()](https://docs.python.org/3/library/functions.html#func-range) built-in, write a `for`-loop and calculate the volume of a sphere with `radius = 42.0` for all `digits` from `1` through `20`. Print out each volume on a separate line.\n",
"\n",
"Note: This is the first task where you actually need to use the [print()](https://docs.python.org/3/library/functions.html#print) built-in function."
"Note: This is the first task where you need to use the built-in [print()](https://docs.python.org/3/library/functions.html#print) function."
]
},
{
@ -349,7 +349,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Q11.6**: What important lesson did you learn about the `float` type?"
"**Q11.6**: What lesson did you learn about the `float` type?"
]
},
{