Search⌘ K
AI Features

Challenge: Recursive factorial

Explore how to implement the factorial function using recursion in this challenge. Learn to write a recursive function that calculates the product of numbers from 1 to n effectively, reinforcing fundamental recursion concepts.

We'll cover the following...

Finish the provided factorial function, so that it returns the value  ...