DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python faculty of 0 is 1 faculty of 1 is 1
return 1 if n <=1 else n*factorial(n-1)
Source by www.codegrepper.com #
PREVIOUS
NEXT
Tagged:
#python
#faculty
#faculty
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit