Skip to content

Commit

Permalink
Fix section headings; #1
Browse files Browse the repository at this point in the history
  • Loading branch information
s2t2 committed Aug 5, 2024
1 parent 528b74e commit 8df6ab9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/notes/data-processing/sorting.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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".

Expand Down
4 changes: 2 additions & 2 deletions docs/notes/dev-tools/google-colab/filesystem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"id": "8Acd8FvtU3RS"
},
"source": [
"### Accessing the Filesystem"
"## Accessing the Filesystem"
]
},
{
Expand Down Expand Up @@ -122,7 +122,7 @@
"id": "UBnLQyVAUHPI"
},
"source": [
"### Reading and Writing Text Files"
"## Reading and Writing Text Files"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/notes/dev-tools/google-colab/overview.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
:::


Expand Down
2 changes: 1 addition & 1 deletion docs/notes/python-lang/control-flow/conditional-logic.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
12 changes: 6 additions & 6 deletions docs/notes/python-lang/python-operators.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand All @@ -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)

Expand All @@ -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)

Expand All @@ -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)

Expand Down Expand Up @@ -133,7 +133,7 @@ print(False or False)



#### Truthiness
### Truthiness


Another way of using the `or` operator is within the concept of "truthiness".
Expand Down

0 comments on commit 8df6ab9

Please sign in to comment.