Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

04-loop.md: Fix long lines #902

Merged
merged 1 commit into from
Jan 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _episodes/04-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ so we should always use it when we can.

> ## Computing the Value of a Polynomial
>
> The built-in function `enumerate` takes a sequence (e.g. a [list]({{ page.root }}/05-lists/)) and generates a
> new sequence of the same length. Each element of the new sequence is a pair composed of the index
> (0, 1, 2,...) and the value from the original sequence:
> The built-in function `enumerate` takes a sequence (e.g. a [list]({{ page.root }}/05-lists/)) and
> generates a new sequence of the same length. Each element of the new sequence is a pair composed
> of the index (0, 1, 2,...) and the value from the original sequence:
>
> ~~~
> for idx, val in enumerate(a_list):
Expand Down