From 00af398315d21519e944d4ff42c6e02205df94ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CYOUR?= Date: Tue, 8 Aug 2017 09:57:32 +0000 Subject: [PATCH] Done --- build.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/build.py b/build.py index 8b13789..4a68633 100644 --- a/build.py +++ b/build.py @@ -1 +1,17 @@ +n = int(raw_input('Enter n :')) +output = [] + +a,b = 0,1 + +output.extend([a,b]) + +i = 2 + +while i < n: + c = a + b + a,b = b,c + output.append(c) + i = i +1 + +print output