Skip to content

Commit 3a1c662

Browse files
author
Shehab Abdel-Salam
committed
final fixes
1 parent d618ca7 commit 3a1c662

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

chapters/chapter08_files/exercises/exercise_61.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
# Example data.txt:
99
# item_name,quantity,price
10-
# Apple,1,100,0.5
11-
# Banana,2,200,0.3
12-
# Orange,3,150,0.4
10+
# Apple,100,0.5
11+
# Banana,200,0.3
12+
# Orange,150,0.4
1313

1414
# With restock threshold of 200. The function should return:
1515
# {

chapters/chapter08_files/tests/test_ch08.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ def test_e61(source, restock_threshold, expected):
208208
),
209209
(
210210
textwrap.dedent(
211-
"""
212-
1
211+
"""1
213212
2
214213
3
215214
5

0 commit comments

Comments
 (0)