You wrote:
factorial(n) = 0 if n is 1 #base case
it should be:
factorial(n) = 1 if n is 1 #base case
Best regards
Miguel Alves
Type your question above this line.
Course: https://www.educative.io/collection/10370001/5765097389555712
Lesson: https://www.educative.io/collection/page/10370001/5765097389555712/5762578928107520