Factorial of Factorials

Published by Mubashir Hassan in

Create a function that takes an integer n and returns the factorial of factorials. See below examples for a better understanding:

Examples

fact_of_fact(4) ➞ 288
# 4! * 3! * 2! * 1! = 288 

fact_of_fact(5) ➞ 34560

fact_of_fact(6) ➞ 24883200

Notes

N/A

Watch a quick demo on how Edabit works.