Help me in solving RECUR03 problem

My issue

Task
Given an integer
𝑁
N, calculate and output the factorial of a
𝑁
N.

Factorial of an integer
𝑁
N is the product of first
𝑁
N natural numbers.

Recursive equation for Factorial:
𝐹
π‘Ž
𝑐
𝑑
π‘œ
π‘Ÿ
𝑖
π‘Ž
𝑙
(
𝑛
)

𝑁
βˆ—
𝐹
π‘Ž
𝑐
𝑑
π‘œ
π‘Ÿ
𝑖
π‘Ž
𝑙
(
𝑛
βˆ’
1
)
Factorial(n)=Nβˆ—Factorial(nβˆ’1),
𝐹
π‘Ž
𝑐
𝑑
π‘œ
π‘Ÿ
𝑖
π‘Ž
𝑙
(
0
)

1
Factorial(0)=1,
𝐹
π‘Ž
𝑐
𝑑
π‘œ
π‘Ÿ
𝑖
π‘Ž
𝑙
(
1
)

1
Factorial(1)=1

Input Format
Input contains a single integer
𝑁
N
Output Format
Output the Factorial of
𝑁
N

My code

def Factorial(n):
    Factorial(n) = N + Factorial(n - 1).Factorial(0) = 1.Factorial(1) = 1

n = int(input())
print(Factorial(n))

Learning course: Design and Analysis of Algorithms
Problem Link: Factorial in Design and Analysis of Algorithms