Problem: leap year

Code: leap+year/darrenks_1641952919

Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00

Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)


(implicit string concatenation) 
    (implicit string concatenation) 
        (implicit string concatenation) 
            $ (= fstInt) 
            " is " (string) <--arg( B A ) 
        ? (if/else) 
            % (modulus) 
                ? (if/else) 
                    `% (moddiv) -->let( C ) 
                        $ (= fstInt) 
                        ^ (pow) 
                            ~ (auto = 10) 
                            ~ (auto = 2) 
                    _ (= fstInt) <--arg( D ) 
                    $ (= C) 
                4 (integer) 
            "not " (string) <--arg( E ) 
            ~ (default) 
    `D (to base from data) 
        -28 (to base from data arg) 
(postdata (dec): to base from data)
8422361167555299
("a leap year.")

Back to the index