In case you’re not picking up on the theme of Ruby having a gajillion ways to do any given task: let’s convert our loop yet again.
for k in 1..3 print k end
In the above example, we print out
123 by virtue of looping from
for loop instead of an
Take this course for free