DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
factorial in python
def fact(n): return 1 if (n==0 or n==1) else n*fact(n-1) fact(3)
PREVIOUS
NEXT
Tagged:
#factorial
#python
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit