Update range.html.md

Fix the condition in the negative direction range pseudo code
pull/28784/head
TAY TS 5 years ago committed by GitHub
parent cebbc8b246
commit 511011335a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save