From d3059df229345b82dcc8241da5e43b3197e13ea6 Mon Sep 17 00:00:00 2001 From: Lubos Kolouch Date: Thu, 2 Jan 2020 15:06:50 +0100 Subject: Challenge 2 Week 41 Python --- challenge-041/lubos-kolouch/python/ch-2.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 challenge-041/lubos-kolouch/python/ch-2.py 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) -- cgit