in reply to Re^2: Golf: Factorials
in thread Golf: Factorials
24 characters using say and an unused punctuation variable:
13:38 >perl -E "$a=1;say$a*=++$}for a..k" 1 2 6 24 120 720 5040 40320 362880 3628800 39916800 13:38 >
:-)
Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Golf: Factorials
by eyepopslikeamosquito (Archbishop) on Apr 11, 2015 at 04:49 UTC | |
by Discipulus (Canon) on Dec 15, 2015 at 10:38 UTC | |
Re^4: Golf: Factorials
by Discipulus (Canon) on Dec 15, 2015 at 10:52 UTC |