diff options
author | Santo Cariotti <sancn@live.com> | 2017-04-25 11:00:38 +0200 |
---|---|---|
committer | Santo Cariotti <sancn@live.com> | 2017-04-25 11:00:38 +0200 |
commit | 16f3c4e2de8058da2fbdef37c9a4f501e279bfc3 (patch) | |
tree | 5b4aa6c94c645303dd1fdd01444037b55c550293 | |
parent | e1d76dd1d6e9cd35a17e6443d7222a9499ccc698 (diff) |
Edited list FIB
-rw-r--r-- | lswf.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ -fib = [1, 1] - +fib = [] +fib.append(1) +fib.append(1) def fibonacci(N): for i in range(2, N): |