Forgot your password?
typodupeerror

Comment Re:Lisp instead of Python (Score 1) 186

Not sure if anyone else finds this straight-forward, but it is how I would write the function in Scheme.

(define (leap-year? year)
        (let ([0-% (lambda (n) (zero? (remainder year n)))])
                (or (0-% 400) (and (not (0-% 100)) (0-% 4)))))

Slashdot Top Deals

The hardest part of climbing the ladder of success is getting through the crowd at the bottom.

Working...