# Defining a Recursive Function

Course: **Thinking Recursively in Python**

James Uejio
05:42
3 Comments

In this lesson, you’ll learn that all recursive functions have two parts:

**Recursive case****Base case**

You’ll also see how to define the factorial symbol recursively:

```
def factorial_recursive(n):
if n <= 1:
return 1
return n * factorial_recursive(n - 1)
```

### Comments & Discussion

**James Uejio** RP Team on Dec. 31, 2019

Hi kwf777,

Feel free to take a look at the last video in this course where I give some real world examples on why you would use recursion over other techniques.

**JulianV** on Jan. 31, 2020

Nice warm up!

Become a Member to join the conversation.

kwf777on Dec. 23, 2019So now you’ve brought out the project manager in me. Explain why 7 resources instead of 1 to do the same job is economically feasible and makes good business sense?