Create a function to calculate the factorial of a given number.
EasyProblem Statement
Create a function to calculate the factorial of a given number.
Sample Input
5
Sample Output
Factorial: 120
Limits
Time: 2s · Memory: 256 MB
Create a function to calculate the factorial of a given number.
5
Factorial: 120
Time: 2s · Memory: 256 MB