From 48d98f64657607d771d4ac5c35355da52c7a4540 Mon Sep 17 00:00:00 2001 From: koustav01 <71479361+koustav01@users.noreply.github.com> Date: Sat, 3 Oct 2020 22:14:34 +0530 Subject: [PATCH] Update fibo.py --- fibo.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fibo.py b/fibo.py index 4361cce..6add466 100644 --- a/fibo.py +++ b/fibo.py @@ -11,3 +11,8 @@ def fib2(n): # return Fibonacci series up to n result.append(b) a, b = b, a+b return result +ans=fib(int(input)) +print(ans) + +ans=fib2(int(input)) +print(ans)