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

More By Author:

Check out these other kata created by devtheory

Stats:

CreatedApr 13, 2016
Warriors Trained127
Total Skips15
Total Code Submissions167
Total Times Completed74
Ruby Completions74
Total Stars0
% of votes with a positive feedback rating74% of 37
Total "Very Satisfied" Votes24
Total "Somewhat Satisfied" Votes7
Total "Not Satisfied" Votes6
Total Rank Assessments34
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • devtheory Avatar
Ad