website/docs: Updated documentation for range function pseudocode (#23823)
This commit is contained in:
parent
9333b19bd7
commit
66411b5ca0
|
@ -36,7 +36,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…
Reference in New Issue