Skip to content

Commit 5937eac

Browse files
authored
Update 05-loop.md
Suggestion to contrast the manual enumeration of integers 0 through 9 in the for loop with the range {0..9} (in case it doesn't hinder the pedagogical flow of the topic).
1 parent 7edc5dc commit 5937eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/05-loop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $ for loop_variable in 0 1 2 3 4 5 6 7 8 9
204204
8
205205
9
206206
```
207-
207+
Alternatively, try replacing the enumeration of integers `0 1 2 3 4 5 6 7 8 9` by `{0..9}` to obtain an identical output.
208208
:::::::::::::::::::::::::
209209

210210
::::::::::::::::::::::::::::::::::::::::::::::::::

0 commit comments

Comments
 (0)