Draft
Leap Year Checker
Description:
Define a method called is_leap_year
that takes a 4 digit year
as an argument and returns true
if the year is a leap year, false if otherwise.
A year is known as a leap year if the year:
- is divisible by 4 but not by 100
- is divisible by 400
Similar Kata:
Stats:
Created | Apr 13, 2016 |
Warriors Trained | 127 |
Total Skips | 15 |
Total Code Submissions | 167 |
Total Times Completed | 74 |
Ruby Completions | 74 |
Total Stars | 0 |
% of votes with a positive feedback rating | 74% of 37 |
Total "Very Satisfied" Votes | 24 |
Total "Somewhat Satisfied" Votes | 7 |
Total "Not Satisfied" Votes | 6 |
Total Rank Assessments | 34 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |