From: Mart Lubbers Date: Wed, 8 Oct 2014 18:45:57 +0000 (+0200) Subject: small type X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=38164694986b358b051b78cab8a38f84c1258917;p=bsc-thesis1415.git small type --- diff --git a/thesis2/fac.py b/thesis2/fac.py deleted file mode 100644 index 1226f56..0000000 --- a/thesis2/fac.py +++ /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)