Skip to content

Commit e0a8ff9

Browse files
committed
code-style; em-dash
1 parent 1593249 commit e0a8ff9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_episodes/05-cond.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ keypoints:
1111
- "Use `if condition` to start a conditional statement, `elif condition` to provide additional tests, and `else` to provide a default."
1212
- "The bodies of the branches of conditional statements must be indented."
1313
- "Use `==` to test for equality."
14-
- "`X and Y` is only true if both X and Y are true."
15-
- "`X or Y` is true if either X or Y, or both, are true."
14+
- "`X and Y` is only true if both `X` and `Y` are true."
15+
- "`X or Y` is true if either `X` or `Y`, or both, are true."
1616
- "Zero, the empty string, and the empty list are considered false; all other numbers, strings, and lists are considered true."
1717
- "Nest loops to operate on multi-dimensional data."
1818
- "Put code whose parameters change frequently in a function, then call it with different parameter values to customize its behavior."

_episodes/06-func.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ on a different dataset or at a different point in our program?
3939
Cutting and pasting it is going to make our code get very long and very repetitive,
4040
very quickly.
4141
We'd like a way to package our code so that it is easier to reuse,
42-
and Python provides for this by letting us define things called 'functions' -
42+
and Python provides for this by letting us define things called 'functions' ---
4343
a shorthand way of re-executing longer pieces of code.
4444

4545
Let's start by defining a function `fahr_to_kelvin` that converts temperatures from Fahrenheit to Kelvin:

0 commit comments

Comments
 (0)