Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6039e35

Browse files
Update P04_Factorial.py (#28)
1 parent 5893eca commit 6039e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎Programs/P04_Factorial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#Author: OMKAR PATHAK
22
#This program finds the favtorial of the specified numbers
3+
#For example, factorial of 5 = 5*4*3*2*1 = 120
34

45
def factorial(number):
56
'''This function finds the factorial of the number passed as argument'''

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /