From 7bec7d2c20c9d24499810ae66079e0d16b20131a Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Tue, 16 May 2023 14:19:55 +0300 Subject: [PATCH] Update episodes/05-loop.md Consistent formatting --- episodes/05-loop.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/episodes/05-loop.md b/episodes/05-loop.md index 55eb41089..8312688e5 100644 --- a/episodes/05-loop.md +++ b/episodes/05-loop.md @@ -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: