diff options
author | zedarider <ymherklotz@gmail.com> | 2016-02-26 21:32:14 +0000 |
---|---|---|
committer | zedarider <ymherklotz@gmail.com> | 2016-02-26 21:32:14 +0000 |
commit | 0e25cbb168e082e382cb5f92c9267f47e61ad227 (patch) | |
tree | 4008ef506d9987317b46a844789ac3b364e054c9 /test1.py | |
parent | f7a1296d353dea1f98b47d4baef87426ceadf6b5 (diff) | |
download | imperial_2015-0e25cbb168e082e382cb5f92c9267f47e61ad227.tar.gz imperial_2015-0e25cbb168e082e382cb5f92c9267f47e61ad227.zip |
cleaning up files
Diffstat (limited to 'test1.py')
-rw-r--r-- | test1.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test1.py b/test1.py deleted file mode 100644 index db3f188..0000000 --- a/test1.py +++ /dev/null @@ -1,16 +0,0 @@ -def fib(*arg): - fib1 = [0, 1] - if(len(arg) == 1): - for x in range(2, arg[0]): - fib1.append(fib1[x-2]+fib1[x-1]) - print(fib1) - elif(len(arg) == 2): - for x in range(2, arg[1]): - fib1.append(fib1[x-2]+fib1[x-1]) - print(fib1[arg[0]-1:]) - -def main(): - fib(10, 20) - -if __name__ == '__main__': - main()
\ No newline at end of file |