Skip to content

Commit

Permalink
Update 4.iterations.md
Browse files Browse the repository at this point in the history
while
  • Loading branch information
MattBixley authored Feb 24, 2025
1 parent 4810d0f commit cd37e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/4.iterations.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ We constructed a loop to multiply each number by 2, but we only have 1 number as
}
```

In lines 19 to 23, we applied a `while` loop to ensure that `collatz()` continues to be applied until `x == 1`, which marks the end of the loop.
In lines 17 to 21, we applied a `while` loop to ensure that `collatz()` continues to be applied until `x == 1`, which marks the end of the loop.

## The `map()` family

Expand Down

0 comments on commit cd37e26

Please sign in to comment.