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, |
In reply to Re^3: Golf: Factorials
by Athanasius
in thread Golf: Factorials
by srawls
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |