From a811a0e8499f291428b1d972d43f7b26e65a6d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Garc=C3=ADa=20Cu=C3=A9llar?= Date: Sat, 13 Oct 2018 22:22:32 +0200 Subject: [PATCH] Update FibonacciSequenceRecursion.py --- Maths/FibonacciSequenceRecursion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maths/FibonacciSequenceRecursion.py b/Maths/FibonacciSequenceRecursion.py index a54fb89db..a97bb8b3f 100644 --- a/Maths/FibonacciSequenceRecursion.py +++ b/Maths/FibonacciSequenceRecursion.py @@ -8,7 +8,7 @@ def isPositiveInteger(limit): def main(): limit = int(input("How many terms to include in fibonacci series: ")) - if isPositiveInteger: + if isPositiveInteger(limit): print(f"The first {limit} terms of the fibonacci series are as follows:") print([recur_fibo(n) for n in range(limit)]) else: