about | help | code help+videos | done | prefs |
leapYear
Create a function that returns True if year is a leap year and returns False if year is not a leap year. A leap year comes every 4th year except every 100th year unless it is the 400th year. For a more detailed explanation of a leap-year visit: http://en.wikipedia.org/wiki/Leap_year leapYear(2004) → True leapYear(2000) → True leapYear(1999) → False ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy