aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-041/lubos-kolouch/python/ch-2.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/challenge-041/lubos-kolouch/python/ch-2.py b/challenge-041/lubos-kolouch/python/ch-2.py
new file mode 100644
index 0000000000..02b509279e
--- /dev/null
+++ b/challenge-041/lubos-kolouch/python/ch-2.py
@@ -0,0 +1,8 @@
+#!python3
+
+l = [1,1]
+
+for i in range(2,20):
+ l.append(l[i-2]+l[i-1]+1)
+
+print(l)