Lab Task on Lesson-3

Opened: Wednesday, 7 October 2020, 12:00 AM
Due: Tuesday, 13 October 2020, 11:59 PM
View Make a submission

Suppose, you have been assigned to determine the factorial of an integer. Now, write a python code that will take an integer as input and will determine the factorial with the help of a user-defined function named "factorial".

Sample Inputs
Sample Outputs
4
4! = 24
5
5! = 120

N.B. You need to submit the code in the provided online editor. There is no need for any file attachments.