Skip to content

Commit 3676073

Browse files
committed
Fix missing comma
1 parent c3cbe54 commit 3676073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Notes/01_Introduction/07_Functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Exceptions can be caught and handled.
7272
To catch, use the `try - except` statement.
7373

7474
```python
75-
for line in f:
76-
fields = line.split()
75+
for line in file:
76+
fields = line.split(',')
7777
try:
7878
shares = int(fields[1])
7979
except ValueError:

0 commit comments

Comments
 (0)