Skip to content

Commit

Permalink
Merge pull request #479 from cleary3/patch-5
Browse files Browse the repository at this point in the history
Update 02-loop.md — em dash formatting
  • Loading branch information
Anne Fouilloux authored Feb 22, 2018
2 parents 8d196b5 + e8d14e0 commit 6b82743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions episodes/02-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ d
~~~
{: .output}

This is shorter---certainly shorter than something that prints every character in a hundred-letter string---and
This is shorter --- certainly shorter than something that prints every character in a hundred-letter string --- and
more robust as well:

~~~
Expand All @@ -133,7 +133,7 @@ n
{: .output}

The improved version uses a [for loop]({{ page.root }}/reference/#for-loop)
to repeat an operation---in this case, printing---once for each thing in a sequence.
to repeat an operation --- in this case, printing --- once for each thing in a sequence.
The general form of a loop is:

~~~
Expand Down

0 comments on commit 6b82743

Please sign in to comment.