Skip to content

Commit

Permalink
Update episodes/05-loop.md
Browse files Browse the repository at this point in the history
Consistent formatting
  • Loading branch information
bkmgit committed May 16, 2023
1 parent 443108f commit 7bec7d2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions episodes/05-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ We'll use a loop to solve this problem, but first let's look at the general form
using the pseudo-code below:

```bash
for thing in list_of_things # The word "for" indicated the start of a
"For-loop" command
do #The word "do" indicates the start of job execution list
operation_using/command $thing # Indentation within the loop is not required, but aids legibility
done # The word "done" indicates the end of a loop
# The word "for" indicated the start of a "For-loop" command
for thing in list_of_things
#The word "do" indicates the start of job execution list
do
# Indentation within the loop is not required, but aids legibility
operation_using/command $thing
# The word "done" indicates the end of a loop
done
```

and we can apply this to our example like this:
Expand Down

0 comments on commit 7bec7d2

Please sign in to comment.