4 lines
59 B
APL
4 lines
59 B
APL
|
|
fac←{⍵>1 : ⍵×fac ⍵-1 ⋄ 1}
|
|||
|
|
fac 5
|
|||
|
|
120
|