Skip to content

Commit

Permalink
Merge pull request #1391 from karenword/patch-1
Browse files Browse the repository at this point in the history
Annotate exercise
  • Loading branch information
bkmgit committed May 16, 2023
2 parents 36e96ec + 7bec7d2 commit de9386a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions episodes/05-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +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
do
operation_using $thing # Indentation within the loop is not required, but aids legibility
done
# 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 de9386a

Please sign in to comment.