prep-work/python/11-factorial/factorial_recursive.py
Armen Vartan b9a8397f34 files
2014-12-01 12:17:43 -05:00

14 lines
198 B
Python

import sys
def factorial(num):
#write assert statements below
assert(factorial(5) == 120), "5! should return 120"
assert(factorial(20) == 2432902008176640000), "Well that escalated quickly"