2 lines
85 B
OCaml
2 lines
85 B
OCaml
let leap_year year =
|
|
(year mod 4 = 0 && year mod 100 <> 0) || year mod 400 = 0
|