Python · Decisions

Lab: Leap years

Every calendar app, payroll system and date library needs to know which years get a February 29, and the rule has two exceptions.