Ruby Tutorial

Ruby Loops

Loops

Loops let you repeat blocks of code efficiently.

3.times { |i| puts i }
Try it Yourself
Run this RUBY example in your local environment or course sandbox.