|
96 | 96 | "source": [ |
97 | 97 | "<img align=\"left\" width=\"6%\" style=\"padding-right:10px;\" src=\"images/key.png\">\n", |
98 | 98 | "\n", |
99 | | - "A boolean expression usually has (at least) one **[relational operators](https://docs.python.org/3.6/reference/expressions.html?#value-comparisons)** that verifies a relation between two variables." |
| 99 | + "A boolean expression usually has (at least) one **[relational operators](https://docs.python.org/3.9/reference/expressions.html?#value-comparisons)** that verifies a relation between two variables." |
100 | 100 | ] |
101 | 101 | }, |
102 | 102 | { |
|
194 | 194 | "source": [ |
195 | 195 | "<img align=\"left\" width=\"6%\" style=\"padding-right:10px;\" src=\"images/key.png\">\n", |
196 | 196 | "\n", |
197 | | - "It is possible to combine pairs of boolean expressions (**operands**) into a single one using **[logical operators](https://docs.python.org/3.6/reference/expressions.html?#boolean-operations)** such as `and` and `or`. " |
| 197 | + "It is possible to combine pairs of boolean expressions (**operands**) into a single one using **[logical operators](https://docs.python.org/3.9/reference/expressions.html?#boolean-operations)** such as `and` and `or`. " |
198 | 198 | ] |
199 | 199 | }, |
200 | 200 | { |
|
230 | 230 | "source": [ |
231 | 231 | "<img align=\"left\" width=\"6%\" style=\"padding-right:10px;\" src=\"images/info.png\">\n", |
232 | 232 | "\n", |
233 | | - "When a statement contains multiple operators, Python follows a well-defined [order of precedence](https://docs.python.org/3.6/reference/expressions.html#operator-precedence)." |
| 233 | + "When a statement contains multiple operators, Python follows a well-defined [order of precedence](https://docs.python.org/3.9/reference/expressions.html#operator-precedence)." |
234 | 234 | ] |
235 | 235 | }, |
236 | 236 | { |
|
429 | 429 | "cell_type": "markdown", |
430 | 430 | "metadata": {}, |
431 | 431 | "source": [ |
432 | | - "Conditional statements like [`if`](https://docs.python.org/3.6/reference/compound_stmts.html#the-if-statement), [`elif`](https://docs.python.org/3.6/reference/compound_stmts.html#the-if-statement), and [`else`](https://docs.python.org/3.6/reference/compound_stmts.html#the-if-statement) provide you with the ability to check whether specific conditions apply and change the behavior of your program accordingly." |
| 432 | + "Conditional statements like [`if`](https://docs.python.org/3.9/reference/compound_stmts.html#the-if-statement), [`elif`](https://docs.python.org/3.9/reference/compound_stmts.html#the-if-statement), and [`else`](https://docs.python.org/3.9/reference/compound_stmts.html#the-if-statement) provide you with the ability to check whether specific conditions apply and change the behavior of your program accordingly." |
433 | 433 | ] |
434 | 434 | }, |
435 | 435 | { |
|
480 | 480 | "source": [ |
481 | 481 | "<img align=\"left\" width=\"6%\" style=\"padding-right:10px;\" src=\"images/key.png\">\n", |
482 | 482 | "\n", |
483 | | - "Proper [indentation](https://docs.python.org/3.6/reference/lexical_analysis.html#indentation) is a key requirement in Python." |
| 483 | + "Proper [indentation](https://docs.python.org/3.9/reference/lexical_analysis.html#indentation) is a key requirement in Python." |
484 | 484 | ] |
485 | 485 | }, |
486 | 486 | { |
|
789 | 789 | "cell_type": "markdown", |
790 | 790 | "metadata": {}, |
791 | 791 | "source": [ |
792 | | - "* [The official Python 3.6 documentation](https://docs.python.org/3.6/index.html)\n", |
793 | | - " * [The bool type](https://docs.python.org/3.6/library/functions.html?#bool)\n", |
794 | | - " * [Indentation](https://docs.python.org/3.6/reference/lexical_analysis.html#indentation)\n", |
795 | | - " * [Relational Operators](https://docs.python.org/3.6/reference/expressions.html?#value-comparisons)\n", |
796 | | - " * [Logical Operators](https://docs.python.org/3.6/reference/expressions.html?#boolean-operations)\n", |
797 | | - " * [Order of Precedence for Operators](https://docs.python.org/3.6/reference/expressions.html#operator-precedence)\n", |
798 | | - " * [The `if` statement](https://docs.python.org/3.6/reference/compound_stmts.html#the-if-statement)\n", |
| 792 | + "* [The official Python 3.9 documentation](https://docs.python.org/3.9/index.html)\n", |
| 793 | + " * [The bool type](https://docs.python.org/3.9/library/functions.html?#bool)\n", |
| 794 | + " * [Indentation](https://docs.python.org/3.9/reference/lexical_analysis.html#indentation)\n", |
| 795 | + " * [Relational Operators](https://docs.python.org/3.9/reference/expressions.html?#value-comparisons)\n", |
| 796 | + " * [Logical Operators](https://docs.python.org/3.9/reference/expressions.html?#boolean-operations)\n", |
| 797 | + " * [Order of Precedence for Operators](https://docs.python.org/3.9/reference/expressions.html#operator-precedence)\n", |
| 798 | + " * [The `if` statement](https://docs.python.org/3.9/reference/compound_stmts.html#the-if-statement)\n", |
799 | 799 | "* [Sediment Grain Size](https://en.wikipedia.org/wiki/Grain_size)" |
800 | 800 | ] |
801 | 801 | }, |
|
833 | 833 | "name": "python", |
834 | 834 | "nbconvert_exporter": "python", |
835 | 835 | "pygments_lexer": "ipython3", |
836 | | - "version": "3.6.7" |
| 836 | + "version": "3.9.7" |
837 | 837 | } |
838 | 838 | }, |
839 | 839 | "nbformat": 4, |
|
0 commit comments