Skip to content

Commit 5f2f5fa

Browse files
09-errors: Update the line numbers in the error block (#866)
1 parent 975bbb2 commit 5f2f5fa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_episodes/09-errors.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ favorite_ice_cream()
6060
---------------------------------------------------------------------------
6161
IndexError Traceback (most recent call last)
6262
<ipython-input-1-70bd89baa4df> in <module>()
63-
6 print(ice_creams[3])
64-
7
65-
----> 8 favorite_ice_cream()
63+
9 print(ice_creams[3])
64+
10
65+
----> 11 favorite_ice_cream()
6666
6767
<ipython-input-1-70bd89baa4df> in favorite_ice_cream()
68-
4 'vanilla', 'strawberry'
69-
5 ]
70-
----> 6 print(ice_creams[3])
71-
7
72-
8 favorite_ice_cream()
68+
7 'strawberry'
69+
8 ]
70+
----> 9 print(ice_creams[3])
71+
10
72+
11 favorite_ice_cream()
7373
7474
IndexError: list index out of range
7575
~~~

0 commit comments

Comments
 (0)