Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAInitially I thought that as this was a macro and factorial is somewhat iterative that it needed to be an iterative macro, which kinda make sense as if you had written it in code it would be recursive or iterative. But this led me to a dark place that I struggled with. This maybe just me but I didn't seem to find that many tutorials on iterative macros other than 'compound interest of one value' or 'travel calculator' neither of which helped me in this problem. Others just went off in the deep end and not that many go through the 'how it works' or 'how to debug during iteration x'.
After tearing my hair out I went back to basics and came up with pretty much the same macro as the solution (albeit missing a couple of tools). Good fun though and I learnt a little bit more about iterative macros.
Easy one !! Good for practice.
Forgot to mention, i have created an app for this (the previously attached workflow), hence it can take any value.
My solution.