Feedback for these lessons is very much welcome. If you like or hate something about a lesson let us know, either on GitHub, via Mail or just tell us in person ;)
x
Practising recursion
Write a function that calculates the factorial of a given number n! recursively.
Experts: The function shall calculate fib(n) instead of n!.
###Hints###
For which n is the result of n! clear?
Check for such n at the start of the function!
For all other n, you need a recursive call.
Experts: In one statement, you can call a function multiple times
##Solution##
Experts: