This Ruby coding exercise walks through how to calculate leap years in Ruby, specifically how to list out all of the leap years in the 20th century. Solution and exercise: https://www.crondose.com/2016/12/ruby-coding-exercise-find-leap-years-20th-century/