1. # returns the n factorial, or -1 if it does not exist
  2. def factorial(n):
  3.     if n > 1: return n * factorial(n - 1)
  4.     elif n >= 0: return 1
  5.     else: return -1
DOWNLOAD

              Created: February 12, 2014
Completed in full by: Michael Yaworski