diff --git a/website/docs/language/functions/range.html.md b/website/docs/language/functions/range.html.md index bdb538ec8..e154e8a9e 100644 --- a/website/docs/language/functions/range.html.md +++ b/website/docs/language/functions/range.html.md @@ -32,7 +32,7 @@ The sequence-building algorithm follows the following pseudocode: ``` let num = start -while num < limit: (or, for negative step, num >= limit) +while num < limit: (or, for negative step, num > limit) append num to the sequence num = num + step return the sequence