Intermediate
Explain a Python Code Snippet
Break down the logic of a specific piece of Python code.
📝 प्रॉम्ट सामग्री
Explain what the following Python code does step-by-step, including the purpose of the loops and conditionals: def calculate_factorial(n): if n == 0: return 1 else: return n * calculate_factorial(n-1)