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