Post

@PythonPr The difference is indentation.
First code is correct → recursion works → fun(3) = 6
Second code → wrong indentation → return n * fun(n-1) is outside function → IndentationError / syntax issue
Python = indentation defines logic, not just formatting.
English








