Update range.html.md

Fix the condition in the negative direction range pseudo code
This commit is contained in:
TAY TS 2021-05-23 09:43:38 +08:00 committed by GitHub
parent cebbc8b246
commit 511011335a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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