First time here? Check out the FAQ!
answered 2016-07-28 09:26:25 +0100
def myfactorial(n): if n == 1: return [1] else: return myfactorial(n-1) + [n * myfactorial(n-1)[n-2]]