Skip to content

Commit 854f9c9

Browse files
committed
oops
1 parent 1020d5d commit 854f9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basics/larger-program.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Let's start with the function that reads the question file:
4242
```python
4343
def read_questions(filename):
4444
answers = {}
45-
with open(questionfile, 'r') as f:
45+
with open(filename, 'r') as f:
4646
for line in f:
4747
line = line.strip()
4848
if line != '':
@@ -157,7 +157,7 @@ Now the whole program looks like this:
157157
```python
158158
def read_questions(filename):
159159
answers = {}
160-
with open(questionfile, 'r') as f:
160+
with open(filename, 'r') as f:
161161
for line in f:
162162
line = line.strip()
163163
if line != '':

0 commit comments

Comments
 (0)