Learn about nested loops in Ruby through the consecutive sums problem.
Some natural numbers can be written as a sum of consecutive natural numbers. For example:
Get hands-on with 1300+ tech skills courses.