Control Flow - Loops (error)

>     counter = 0

>         while counter < 10
>           puts "This is iteration number #{counter.to_s}!"
>           counter = counter + 1 # counter += 1 is the syntactic-sugar equivalent
>         end

>     The interpreter evaluates the expression following while for truthiness at the start of each loop. After the counter is incremented to **11,** the condition becomes falsey, so the loop terminates.

Minor error, the condition stops when counter is equal to 10, not 11 (unless the writer meant to use the greater than conditional statement)