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)