small type
authorMart Lubbers <mart@martlubbers.net>
Wed, 8 Oct 2014 18:45:57 +0000 (20:45 +0200)
committerMart Lubbers <mart@martlubbers.net>
Wed, 8 Oct 2014 18:45:57 +0000 (20:45 +0200)
thesis2/fac.py [deleted file]

diff --git a/thesis2/fac.py b/thesis2/fac.py
deleted file mode 100644 (file)
index 1226f56..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/env python
-# -*- coding: utf-8 -*-
-
-lookup = {0: 1}
-
-def fac(n):
-    if n in lookup:
-        return n
-    else:
-        return n*fac(n-1)
-
-def fac2(n):
-    if n == 0:
-        return 1
-    else:
-        return n*fac(n-1)