From 8df6ab93ce04cf79beee70c4e967d7ebf6edebbf Mon Sep 17 00:00:00 2001 From: MJ Rossetti Date: Mon, 5 Aug 2024 13:23:13 -0400 Subject: [PATCH] Fix section headings; #1 --- docs/notes/data-processing/sorting.qmd | 2 +- docs/notes/dev-tools/google-colab/filesystem.ipynb | 4 ++-- docs/notes/dev-tools/google-colab/overview.qmd | 2 +- .../python-lang/control-flow/conditional-logic.qmd | 2 +- docs/notes/python-lang/python-operators.qmd | 12 ++++++------ 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/notes/data-processing/sorting.qmd b/docs/notes/data-processing/sorting.qmd index 7a5ea36..1b2caee 100644 --- a/docs/notes/data-processing/sorting.qmd +++ b/docs/notes/data-processing/sorting.qmd @@ -53,7 +53,7 @@ sorted(symbols, reverse=False) # ASCENDING ORDER, SAME AS DEFAULT sorted(symbols, reverse=True) # DESCENDING ORDER ``` -### Sorting Complex Lists +## Sorting Complex Lists We see that if we have a simple list, such as a list of numbers or list of strings, the `sorted` function will know how to sort the items. It understands numeric order in which 2 is greater than 1, and it understands alphabetical order in which "b" is greater than "a". diff --git a/docs/notes/dev-tools/google-colab/filesystem.ipynb b/docs/notes/dev-tools/google-colab/filesystem.ipynb index f751f1a..9f093b3 100644 --- a/docs/notes/dev-tools/google-colab/filesystem.ipynb +++ b/docs/notes/dev-tools/google-colab/filesystem.ipynb @@ -35,7 +35,7 @@ "id": "8Acd8FvtU3RS" }, "source": [ - "### Accessing the Filesystem" + "## Accessing the Filesystem" ] }, { @@ -122,7 +122,7 @@ "id": "UBnLQyVAUHPI" }, "source": [ - "### Reading and Writing Text Files" + "## Reading and Writing Text Files" ] }, { diff --git a/docs/notes/dev-tools/google-colab/overview.qmd b/docs/notes/dev-tools/google-colab/overview.qmd index d1181fc..ab59a27 100644 --- a/docs/notes/dev-tools/google-colab/overview.qmd +++ b/docs/notes/dev-tools/google-colab/overview.qmd @@ -16,7 +16,7 @@ From any notebook, it is possible to create a new notebook, make a copy of the n ::: {.callout-warning} When you access a notebook that has been shared with you, unless you have \"Editor\" privileges, you won't be able to save your work, and any edits you make in that document will be lost. -So if you would like to work in a notebook that has been shared with you, you will first need to make a copy of the notebook, using the /"File/" > /"Save a copy in Google Drive/" menu option. Then when you make edits in your copy of the document, they will be saved. +So if you would like to work in a notebook that has been shared with you, you will first need to make a copy of the notebook, using the \"File\" > \"Save a copy in Google Drive\" menu option. Then when you make edits in your copy of the document, they will be saved. ::: diff --git a/docs/notes/python-lang/control-flow/conditional-logic.qmd b/docs/notes/python-lang/control-flow/conditional-logic.qmd index 575e6a2..210b966 100644 --- a/docs/notes/python-lang/control-flow/conditional-logic.qmd +++ b/docs/notes/python-lang/control-flow/conditional-logic.qmd @@ -13,7 +13,7 @@ execute: With conditional logic, the program will behave one way under certain conditions, and another way under different conditions. -### "If" Statements +## "If" Statements The primary implementation of conditional logic in Python is the "if" statement. diff --git a/docs/notes/python-lang/python-operators.qmd b/docs/notes/python-lang/python-operators.qmd index 75d5998..e58f9eb 100644 --- a/docs/notes/python-lang/python-operators.qmd +++ b/docs/notes/python-lang/python-operators.qmd @@ -23,7 +23,7 @@ The [Python Operators page from W3 Schools](https://www.w3schools.com/python/pyt -### Arithmetic Operators +## Arithmetic Operators ![Arithmetic Operators. Source: [W3 Schools](https://www.w3schools.com/python/python_operators.asp)](../../images/operators-arithmetic.png) @@ -36,7 +36,7 @@ print(2 * 10) print(2 / 10) ``` -### Comparison Operators +## Comparison Operators ![Comparison Operators. Source: [W3 Schools](https://www.w3schools.com/python/python_operators.asp)](../../images/operators-comparison.png) @@ -55,7 +55,7 @@ print(2 >= 10) -### Assignment Operators +## Assignment Operators ![Assignment Operators. Source: [W3 Schools](https://www.w3schools.com/python/python_operators.asp)](../../images/operators-assignment.png) @@ -73,7 +73,7 @@ x += 1 print(x) ``` -### Membership Operators +## Membership Operators ![Membership Operators. Source: [W3 Schools](https://www.w3schools.com/python/python_operators.asp)](../../images/operators-membership.png) @@ -97,7 +97,7 @@ print(5 not in [1,2,5]) -### Logical Operators +## Logical Operators ![Logical Operators. Source: [W3 Schools](https://www.w3schools.com/python/python_operators.asp)](../../images/operators-logical.png) @@ -133,7 +133,7 @@ print(False or False) -#### Truthiness +### Truthiness Another way of using the `or` operator is within the concept of "truthiness".