I have revisited the problem of factorial and tried to code in google colab but for the same code, which got executed earlier, now it is showing error.
Unable to understand this.
return n * factorial_recursive(n-1)
TypeError Traceback (most recent call last)
----> 1 print(factorial_recursive(3))
TypeError: ‘str’ object is not callable