RosettaCodeData/Task/Factorial/Wart/factorial-2.wart

6 lines
50 B
Plaintext

def (fact n)
(n * (fact n-1))
def (fact 0)
1