Skip to content

Commit 17d4f7b

Browse files
MatthijsBlomBethanyG
authored andcommitted
Synchronize example code with tests
1 parent 478b3b3 commit 17d4f7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/practice/largest-series-product/.docs/instructions.append.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ To raise a `ValueError` with a message, write the message as an argument to the
1212
# span of numbers is longer than number series
1313
raise ValueError("span must be smaller than string length")
1414

15-
# span of number is zero or negative
16-
raise ValueError("span must be greater than zero")
15+
# span of number is negative
16+
raise ValueError("span must not be negative")
1717

1818
# series includes non-number input
1919
raise ValueError("digits input must only contain digits")

0 commit comments

Comments
 (0)