Skip to content

Commit 0f9b715

Browse files
authored
Merge pull request dabeaz-course#49 from pacmansu/fix-typos
Fix typos
2 parents c04dc3e + 1d2fbbb commit 0f9b715

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Notes/01_Introduction/03_Numbers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ x ** y Power
106106
abs(x) Absolute Value
107107
```
108108

109-
Theses are the same operators as Integers, except for the bit-wise operators.
109+
These are the same operators as Integers, except for the bit-wise operators.
110110
Additional math functions are found in the `math` module.
111111

112112
```python
@@ -243,7 +243,7 @@ Months 310
243243

244244
### Exercise 1.11: Bonus
245245

246-
While you’re at it, fix the program to correct the for overpayment that occurs in the last month.
246+
While you’re at it, fix the program to correct for the overpayment that occurs in the last month.
247247

248248
### Exercise 1.12: A Mystery
249249

Notes/01_Introduction/04_Strings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# 1.4 Strings
44

5-
This section introduces way to work with text.
5+
This section introduces ways to work with text.
66

77
### Representing Literal Text
88

@@ -134,7 +134,7 @@ t = s.replace('Hello' , 'Hallo') # 'Hallo world'
134134
**More string methods:**
135135

136136
Strings have a wide variety of other methods for testing and manipulating the text data.
137-
This is small sample of methods:
137+
This is a small sample of methods:
138138

139139
```python
140140
s.endswith(suffix) # Check if string ends with suffix

Notes/02_Working_with_data/01_Datatypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Sometimes the `()` are omitted in the syntax.
5858
s = 'GOOG', 100, 490.1
5959
```
6060

61-
Special cases (0-tuple, 1-typle).
61+
Special cases (0-tuple, 1-tuple).
6262

6363
```python
6464
t = () # An empty tuple

0 commit comments

Comments
 (0)